Commit 88c74e65 by alex-weaver Committed by Tianqi Chen

Fix cmake search for vulkan on Windows (#1343)

parent 71f88611
......@@ -28,7 +28,7 @@ macro(find_vulkan use_vulkan)
if(__vulkan_sdk)
set(Vulkan_INCLUDE_DIRS ${__vulkan_sdk}/include)
find_library(Vulkan_LIBRARY vulkan ${__vulkan_sdk}/lib)
find_library(Vulkan_LIBRARY NAMES vulkan vulkan-1 PATHS ${__vulkan_sdk}/lib)
if(Vulkan_LIBRARY)
set(Vulkan_FOUND TRUE)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment