mirror of
https://github.com/sudachi-emu/sirit.git
synced 2024-11-21 20:41:39 +01:00
Updated CMakeLists.txt
This commit is contained in:
parent
1c2050fa9e
commit
e8daed1482
1 changed files with 4 additions and 2 deletions
|
@ -88,8 +88,10 @@ enable_testing(true)
|
|||
if (SIRIT_USE_SYSTEM_SPIRV_HEADERS)
|
||||
find_package(SPIRV-Headers REQUIRED)
|
||||
else()
|
||||
add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL)
|
||||
add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers)
|
||||
if (NOT TARGET SPIRV-Headers::SPIRV::Headers)
|
||||
add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL)
|
||||
add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Sirit project files
|
||||
|
|
Loading…
Reference in a new issue