[Piglit] [PATCH 1/6] framework: Check for vulkan availability

Topi Pohjolainen topi.pohjolainen at gmail.com
Thu Nov 30 14:52:38 UTC 2017


Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4259ec832..04bc656ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,6 +173,8 @@ ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
 	endif()
 ENDIF()
 
+pkg_check_modules(LIBVULKAN QUIET libvulkan)
+
 IF(PIGLIT_HAS_GLX)
 	option(PIGLIT_BUILD_GLX_TESTS "Build tests that require GLX" ON)
 ELSE()
-- 
2.14.1



More information about the Piglit mailing list