aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2012-09-30 17:25:29 -0700
committerJordan Justen <jordan.l.justen@intel.com>2012-10-19 18:10:43 -0700
commitb3e3b82f65b5aefede8baf1287bdac135ad97e7b (patch)
treefaa861a300f7468e647ec7baae39f79e3a07537f /CMakeLists.txt
parent12d99db8866a4715d2dcf7c303547bfacfdd45e3 (diff)
downloadpiglit-b3e3b82f65b5aefede8baf1287bdac135ad97e7b.tar.gz
piglit framework: add gbm support
Use gbm for testing if the PIGLIT_PLATFORM environment variable is set to gbm. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e4854b6e..51db413d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,6 +55,9 @@ if(PIGLIT_BUILD_CL_TESTS)
endif(PIGLIT_BUILD_CL_TESTS)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ set(PIGLIT_HAS_GBM True)
+ add_definitions(-DPIGLIT_HAS_GBM)
+
set(PIGLIT_HAS_X11 True)
add_definitions(-DPIGLIT_HAS_X11)