From bce32e2ba180ff3e1e12f2c8493f642a59f19032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Tue, 26 Jul 2022 16:50:36 +0200 Subject: [PATCH] fix submodule version --- CMakeLists.txt | 4 ++-- submodules/rohrkabel | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e1777b..bd22173 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,11 +28,11 @@ if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git") option(GIT_SUBMODULE "Check submodules during build" ON) if(GIT_SUBMODULE) 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} RESULT_VARIABLE GIT_SUBMOD_RESULT) 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() diff --git a/submodules/rohrkabel b/submodules/rohrkabel index a2d04d1..04bfb92 160000 --- a/submodules/rohrkabel +++ b/submodules/rohrkabel @@ -1 +1 @@ -Subproject commit a2d04d1e27a7b0aa2c2fe4de28b60ada22c7c348 +Subproject commit 04bfb921c44fb0d2337df70f5660899bc8d2844f