mirror of https://github.com/AxioDL/boo.git
Fix expanding list-VULKAN_SDK_DIRS on the if
This commit is contained in:
parent
403291c191
commit
da2cf21616
|
@ -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…
Reference in New Issue