[Piglit] [Bug 97951] piglit_drm_dma_buf.c:142:7: error:=?UTF-8?Q?=20=E2=80=98DRM=5FFORMAT=5FR8=E2=80=99=20undeclared=20?=(first use in this function)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 27 19:50:37 UTC 2016


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

--- Comment #7 from Rob Clark <robclark at freedesktop.org> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160927/4d16436f/attachment.html>


More information about the Piglit mailing list