Fixed dependency clashing

This commit is contained in:
Jarrod Norwell 2024-03-06 13:36:24 +08:00
parent e8daed1482
commit 795ef4d831
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ if (SIRIT_USE_SYSTEM_SPIRV_HEADERS)
find_package(SPIRV-Headers REQUIRED) find_package(SPIRV-Headers REQUIRED)
else() else()
if (NOT TARGET SPIRV-Headers::SPIRV::Headers) if (NOT TARGET SPIRV-Headers::SPIRV::Headers)
add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL) add_subdirectory(externals/SPIRV-Headers EXCLUDE_FROM_ALL YES)
add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers) add_library(SPIRV-Headers::SPIRV-Headers ALIAS SPIRV-Headers)
endif() endif()
endif() endif()

@ -1 +1 @@
Subproject commit 8b246ff75c6615ba4532fe4fde20f1be090c3764 Subproject commit c214f6f2d1a7253bb0e9f195c2dc5b0659dc99ef