Subsequent patches will enable creation of forward-compatible and debug
contexts, which arrived in waffle-1.3.

Signed-off-by: Chad Versace <[email protected]>
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e952e24..3de892c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@ else()
 endif()
 
 if(PIGLIT_USE_WAFFLE)
-       pkg_check_modules(WAFFLE REQUIRED waffle-1>=1.2.2)
+       pkg_check_modules(WAFFLE REQUIRED waffle-1>=1.3.0)
 
        if(NOT WAFFLE_FOUND)
                message(FATAL_ERROR "Failed to find Waffle. If Waffle is not "
@@ -43,6 +43,7 @@ if(PIGLIT_USE_WAFFLE)
         endif()
 
        add_definitions(-DPIGLIT_USE_WAFFLE)
+       add_definitions(-DWAFFLE_API_VERSION=0x0103)
        add_definitions(-DPIGLIT_HAS_WAYLAND)
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WAFFLE_CFLAGS}")
        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WAFFLE_CFLAGS}")
-- 
1.8.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to