[Piglit] [PATCH 4/5] cmake: If using Waffle, require version 1.0.1

Chad Versace chad.versace at linux.intel.com
Wed Aug 29 23:16:50 PDT 2012


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 at linux.intel.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 893a14d..a717b84 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}")
-- 
1.7.12



More information about the Piglit mailing list