From f84cf52c2d0c8e1f829432e0833bdb79da8e464c Mon Sep 17 00:00:00 2001 From: Vlad Vesa Date: Thu, 23 Feb 2023 23:20:29 +0200 Subject: [PATCH] do not trigger git submodule init with cmake since it is not needed anymore --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de4c1a3..293c96c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,14 +64,6 @@ else() set(VERSION_GIT_FULL "${VERSION_GIT}-${VERSION_GIT_IS_DIRTY}") endif() -# Download submodules if needed - -if(NOT EXISTS ${CMAKE_SOURCE_DIR}/src/configparser/.git OR NOT EXISTS ${CMAKE_SOURCE_DIR}/src/cppgtfs/.git OR NOT EXISTS ${CMAKE_SOURCE_DIR}/src/xml/.git) - execute_process( - COMMAND git submodule update --init --recursive - ) -endif() - add_subdirectory(src) # tests