In commit a1efbfb9 support was added for dmabuf with GBM on non-intel platforms, but the requirements were set incorrectly. They require symbols added in mesa commit 8aeb6d76, which is not in any mesa 11 release, only in mesa 12.
This corrects the requirement to be version 12.0 bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97435 Signed-off-by: Dylan Baker <[email protected]> cc: Eric Anholt <[email protected]> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55cfc45..9275743 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_GREATER "11.1") + if (GBM_VERSION VERSION_EQUAL "12.0" OR GBM_VERSION VERSION_GREATER "12.0") set(PIGLIT_HAS_GBM_BO_MAP True) add_definitions(-DPIGLIT_HAS_GBM_BO_MAP) endif() -- 2.9.3 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
