mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-09 22:20:07 +00:00
Fix broken registry path usage
This commit is contained in:
parent
65b7cdd5e3
commit
e407d6eb9a
@ -56,7 +56,7 @@ message("CMAKE_CXX_STANDARD = <${CMAKE_CXX_STANDARD}>")
|
||||
|
||||
if (NOT DEFINED VulkanRegistry_DIR)
|
||||
if (DEFINED VULKAN_HPP_VULKAN_HEADERS_SRC_DIR)
|
||||
set(VulkanRegistry_DIR "${VULKAN_HPP_VULKAN_HEADERS_SRC_DIR/registry"})
|
||||
set(VulkanRegistry_DIR "${VULKAN_HPP_VULKAN_HEADERS_SRC_DIR}/registry")
|
||||
else()
|
||||
set(VulkanRegistry_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Vulkan-Headers/registry")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user