aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-08-29 21:46:26 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-09-04 19:34:10 -0700
commit2c5e406e345ae70d2b22edd95be072d9f9ee7ea0 (patch)
tree9f4cd3953292df242ca11003f919d9be56c8c673 /CMakeLists.txt
parentac0e195be7cc553ea305e1e082b8d15cd0d0f6f3 (diff)
downloadpiglit-2c5e406e345ae70d2b22edd95be072d9f9ee7ea0.tar.gz
cmake: If using Waffle, require version 1.0.1
A following patch adds support for X11 input to glut_waffle. waffle-1.0.1 contains required bugfixes for that patch to work. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 893a14d5..a717b848 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ option(BUILD_GLES2_TESTS "Build tests for OpenGL ES2" OFF)
option(USE_WAFFLE "Use Waffle in place of GLUT" OFF)
if(USE_WAFFLE)
- pkg_check_modules(WAFFLE REQUIRED waffle-1>=1.0)
+ pkg_check_modules(WAFFLE REQUIRED waffle-1>=1.0.1)
add_definitions(-DUSE_WAFFLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WAFFLE_CFLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WAFFLE_CFLAGS}")