Merge branch 'bugfix/find-vulkan-windows' of https://github.com/henriquegemignani/boo into henriquegemignani-bugfix/find-vulkan-windows

This commit is contained in:
Phillip Stephens 2021-04-03 21:37:03 -07:00
commit 717eac9cc3
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 1 additions and 1 deletions

View File

@ -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")