fix submodule version

This commit is contained in:
Malte Jürgens 2022-07-26 16:50:36 +02:00
parent bc59458e19
commit bce32e2ba1
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
2 changed files with 3 additions and 3 deletions

View File

@ -28,11 +28,11 @@ if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
option(GIT_SUBMODULE "Check submodules during build" ON) option(GIT_SUBMODULE "Check submodules during build" ON)
if(GIT_SUBMODULE) if(GIT_SUBMODULE)
message(STATUS "Updating submodules") message(STATUS "Updating submodules")
execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive --remote
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
RESULT_VARIABLE GIT_SUBMOD_RESULT) RESULT_VARIABLE GIT_SUBMOD_RESULT)
if(NOT GIT_SUBMOD_RESULT EQUAL "0") if(NOT GIT_SUBMOD_RESULT EQUAL "0")
message(FATAL_ERROR "`git submodule update --init --recursive` failed with ${GIT_SUBMOD_RESULT}, please provide the submodules manually") message(FATAL_ERROR "`git submodule update --init --recursive --remote` failed with ${GIT_SUBMOD_RESULT}, please provide the submodules manually")
endif() endif()
endif() endif()
endif() endif()

@ -1 +1 @@
Subproject commit a2d04d1e27a7b0aa2c2fe4de28b60ada22c7c348 Subproject commit 04bfb921c44fb0d2337df70f5660899bc8d2844f