Skip to content

Commit

Permalink
[cmake] update vulkan rules (#5777)
Browse files Browse the repository at this point in the history
  • Loading branch information
antinucleon authored Jun 12, 2020
1 parent 53370b9 commit 0f3cfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/util/FindVulkan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0f3cfb8

Please sign in to comment.