mirror of
https://github.com/AxioDL/boo.git
synced 2025-07-01 02:43:34 +00:00
Merge branch 'bugfix/find-vulkan-windows' of https://github.com/henriquegemignani/boo into henriquegemignani-bugfix/find-vulkan-windows
This commit is contained in:
commit
717eac9cc3
@ -161,7 +161,7 @@ if(WINDOWS_STORE)
|
||||
elseif(WIN32)
|
||||
unset(VULKAN_SDK_DIRS CACHE)
|
||||
get_filename_component(VULKAN_SDK_DIRS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\LunarG\\VulkanSDK;VK_SDK_PATHs]" ABSOLUTE CACHE)
|
||||
if (NOT ${VULKAN_SDK_DIRS} STREQUAL "/registry")
|
||||
if (NOT "${VULKAN_SDK_DIRS}" STREQUAL "/registry")
|
||||
message(STATUS "Enabling Vulkan support")
|
||||
list(GET VULKAN_SDK_DIRS 0 VULKAN_SDK_DIR)
|
||||
target_include_directories(boo PUBLIC "${VULKAN_SDK_DIR}/Include")
|
||||
|
Loading…
x
Reference in New Issue
Block a user