mirror of
https://github.com/sudachi-emu/sirit.git
synced 2024-11-22 04:51:40 +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)
|
if (SIRIT_USE_SYSTEM_SPIRV_HEADERS)
|
||||||
find_package(SPIRV-Headers REQUIRED)
|
find_package(SPIRV-Headers REQUIRED)
|
||||||
else()
|
else()
|
||||||
add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL)
|
if (NOT TARGET SPIRV-Headers::SPIRV::Headers)
|
||||||
add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers)
|
add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL)
|
||||||
|
add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Sirit project files
|
# Sirit project files
|
||||||
|
|
Loading…
Reference in a new issue