mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-08 21:50:08 +00:00
Merge pull request #806 from asuessenbach/registryPath
Fix broken registry path usage
This commit is contained in:
commit
e6a261f46c
@ -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