[Mesa-dev] [v3 01/11] framework: Check for vulkan availability
Topi Pohjolainen
topi.pohjolainen at gmail.com
Thu Dec 21 12:01:23 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..c90109907 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,6 +173,8 @@ ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
endif()
ENDIF()
+pkg_check_modules(LIBVULKAN QUIET vulkan)
+
IF(PIGLIT_HAS_GLX)
option(PIGLIT_BUILD_GLX_TESTS "Build tests that require GLX" ON)
ELSE()
--
2.14.1
More information about the mesa-dev
mailing list