Fixed configurarion without SIRIT_USE_SYSTEM_SPIRV_HEADERS set
This commit is contained in:
parent
c456568564
commit
9bb9b8b30b
3 changed files with 5 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -52,3 +52,6 @@
|
|||
[submodule "Vulkan-Utility-Libraries"]
|
||||
path = externals/Vulkan-Utility-Libraries
|
||||
url = https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
|
||||
[submodule "externals/SPIRV-Headers"]
|
||||
path = externals/SPIRV-Headers
|
||||
url = https://github.com/KhronosGroup/SPIRV-Headers.git
|
||||
|
|
1
externals/SPIRV-Headers
vendored
Submodule
1
externals/SPIRV-Headers
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 8b246ff75c6615ba4532fe4fde20f1be090c3764
|
2
externals/sirit/CMakeLists.txt
vendored
2
externals/sirit/CMakeLists.txt
vendored
|
@ -88,7 +88,7 @@ enable_testing(true)
|
|||
if (SIRIT_USE_SYSTEM_SPIRV_HEADERS)
|
||||
find_package(SPIRV-Headers REQUIRED)
|
||||
else()
|
||||
add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/externals/SPIRV-Headers externals/SPIRV-Headers EXCLUDE_FROM_ALL)
|
||||
add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue