Checkout glslang and spirv-cross correctly
This commit is contained in:
parent
f82174cf95
commit
f87143eb13
1 changed files with 3 additions and 3 deletions
6
extern/CMakeLists.txt
vendored
6
extern/CMakeLists.txt
vendored
|
@ -3,7 +3,7 @@ include(FetchContent)
|
||||||
|
|
||||||
# cmake does not feel like fixing this terrible issue in fetchcontent, so we are going to fix it ourselves.
|
# cmake does not feel like fixing this terrible issue in fetchcontent, so we are going to fix it ourselves.
|
||||||
# solution located here: https://gitlab.kitware.com/cmake/cmake/-/issues/21146#note_933303
|
# solution located here: https://gitlab.kitware.com/cmake/cmake/-/issues/21146#note_933303
|
||||||
if(NOT WINDOWS)
|
if(NOT WIN32)
|
||||||
set(BULLET_PATCH_COMMAND git apply -v --ignore-space-change --ignore-whitespace ${CMAKE_CURRENT_SOURCE_DIR}/fix_bullet_cmake_version.patch || true)
|
set(BULLET_PATCH_COMMAND git apply -v --ignore-space-change --ignore-whitespace ${CMAKE_CURRENT_SOURCE_DIR}/fix_bullet_cmake_version.patch || true)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -18,14 +18,14 @@ FetchContent_Declare(
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
spirv-cross
|
spirv-cross
|
||||||
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Cross.git
|
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Cross.git
|
||||||
GIT_TAG 188dc8b13c29f8547c8fb52182111c9ada741a70
|
GIT_TAG 0e2880ab990e79ce6cc8c79c219feda42d98b1e8
|
||||||
GIT_SHALLOW ON
|
GIT_SHALLOW ON
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
glslang
|
glslang
|
||||||
GIT_REPOSITORY https://github.com/KhronosGroup/glslang.git
|
GIT_REPOSITORY https://github.com/KhronosGroup/glslang.git
|
||||||
GIT_TAG d15deba1d8c7da7336945a80eccbf875ae884648
|
GIT_TAG 538231d8b46c22474a558671f89f80b25fcec72d
|
||||||
GIT_SHALLOW ON
|
GIT_SHALLOW ON
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Reference in a new issue