Skip to content

Commit

Permalink
support vendoring SPIRV-Cross
Browse files Browse the repository at this point in the history
  • Loading branch information
alxyng committed Nov 6, 2024
1 parent 3385fb5 commit 47d61b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,13 @@ else()
find_package(spirv_cross_msl QUIET)
find_package(spirv_cross_cpp QUIET)
find_package(spirv_cross_reflect QUIET)
find_package(spirv_cross_c REQUIRED)
if(NOT TARGET spirv-cross-c)
find_package(spirv_cross_c REQUIRED)
endif()
else()
find_package(spirv_cross_c_shared REQUIRED)
if(NOT TARGET spirv-cross-c-shared)
find_package(spirv_cross_c_shared REQUIRED)
endif()
endif()
endif()

Expand Down

0 comments on commit 47d61b7

Please sign in to comment.