https://bugs.freedesktop.org/show_bug.cgi?id=97951

--- Comment #7 from Rob Clark <[email protected]> ---
hmm, well, this hunk was supposed to make it not build that code unless you
have 12.1.. although it's possible my cmake-fu was lacking somehow..

---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ce7f3f8..4002fe9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,7 +141,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
        if(GBM_FOUND)
                set(PIGLIT_HAS_GBM True)
                add_definitions(-DPIGLIT_HAS_GBM)
-               if (GBM_VERSION VERSION_EQUAL "12.0" OR GBM_VERSION
VERSION_GREATER "12.0")
+               if (GBM_VERSION VERSION_EQUAL "12.1" OR GBM_VERSION
VERSION_GREATER "12.1")
                        set(PIGLIT_HAS_GBM_BO_MAP True)
                        add_definitions(-DPIGLIT_HAS_GBM_BO_MAP)
                endif()

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to