Skip to content

Commit

Permalink
Update dependencies.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Feb 14, 2024
1 parent 2ed6b11 commit 2720223
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 3rdparty/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ FetchContent_Declare(
GIT_REPOSITORY "https://github.com/KhronosGroup/SPIRV-Headers.git"
GIT_TAG "d790ced752b5bfc06b6988baadef6eb2d16bdf96"
OVERRIDE_FIND_PACKAGE)
FetchContent_MakeAvailable(SPIRV-Headers)
FetchContent_GetProperties(SPIRV-Headers)
if(NOT SPIRV-Headers_POPULATED)
FetchContent_Populate(SPIRV-Headers)
add_subdirectory(
${SPIRV-Headers_SOURCE_DIR}
${SPIRV-Headers_BINARY_DIR}
)
endif()

FetchContent_Declare(
SPIRV-Tools
Expand Down

0 comments on commit 2720223

Please sign in to comment.