aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChad Versace <chad@chad.versace.us>2012-05-20 13:56:11 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-05-23 21:57:09 -0700
commit47d0730191d5c22f66d6cc63c6b11cd2acee285d (patch)
tree4503cb926365a54dd8e4d73f5a5742512967da5c /CMakeLists.txt
parent7cedfbae353c13da9065c52936cbc6e9c2e2d55d (diff)
downloadpiglit-47d0730191d5c22f66d6cc63c6b11cd2acee285d.tar.gz
cmake: Add module FindWaffle
This enables Piglit to call `find_package(Waffle REQUIRED)`. Reviewed-by: Pauli Nieminen <pauli.nieminen@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Chad Versace <chad@chad.versace.us>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d1961263..6774a7e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.6)
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules")
+
INCLUDE (CheckCCompilerFlag)
INCLUDE (CheckCXXCompilerFlag)
INCLUDE (CheckFunctionExists)