do not trigger git submodule init with cmake since it is not needed anymore
This commit is contained in:
parent
9a0ff47720
commit
f84cf52c2d
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue