Skip to content
Snippets Groups Projects
Commit 88c74e65 authored by alex-weaver's avatar alex-weaver Committed by Tianqi Chen
Browse files

Fix cmake search for vulkan on Windows (#1343)

parent 71f88611
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment