also check for xml submodule

This commit is contained in:
Benitoite 2020-02-09 04:52:18 -08:00 committed by GitHub
parent f856e9865c
commit 6d2671900b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ endif()
# Download submodules if needed # Download submodules if needed
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/src/configparser/CMakeLists.txt OR NOT EXISTS ${CMAKE_SOURCE_DIR}/src/cppgtfs/CMakeLists.txt) if(NOT EXISTS ${CMAKE_SOURCE_DIR}/src/configparser/CMakeLists.txt OR NOT EXISTS ${CMAKE_SOURCE_DIR}/src/cppgtfs/CMakeLists.txt OR NOT EXISTS ${CMAKE_SOURCE_DIR}/src/xml/pfxml.h)
execute_process( execute_process(
COMMAND git submodule update --init --recursive COMMAND git submodule update --init --recursive
) )