From 0f3cfb8722b00a6a0d649a36fd1cbc03b481d64a Mon Sep 17 00:00:00 2001 From: Bing Xu Date: Fri, 12 Jun 2020 08:35:03 -0700 Subject: [PATCH] [cmake] update vulkan rules (#5777) --- cmake/util/FindVulkan.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/util/FindVulkan.cmake b/cmake/util/FindVulkan.cmake index 850b99ceb299..9d9a973c6558 100644 --- a/cmake/util/FindVulkan.cmake +++ b/cmake/util/FindVulkan.cmake @@ -62,7 +62,7 @@ macro(find_vulkan use_vulkan) if(Vulkan_FOUND) get_filename_component(VULKAN_LIBRARY_PATH ${Vulkan_LIBRARY} DIRECTORY) find_library(Vulkan_SPIRV_TOOLS_LIBRARY SPIRV-Tools - HINTS ${VULKAN_LIBRARY_PATH} ${VULKAN_LIBRARY_PATH}/spirv-tools) + HINTS ${VULKAN_LIBRARY_PATH} ${VULKAN_LIBRARY_PATH}/spirv-tools ${VULKAN_SDK}/lib) find_path(_libspirv libspirv.h HINTS ${Vulkan_INCLUDE_DIRS} PATH_SUFFIXES vulkan spirv-tools) find_path(_spirv spirv.hpp HINTS ${Vulkan_INCLUDE_DIRS} PATH_SUFFIXES vulkan SPIRV spirv/unified1)