Merge pull request #7273 from fpdotmonkey/submodule-checkout-command-on-new-line

Move the cmake submodule checkout command to a new line
This commit is contained in:
bunnei 2021-11-19 01:19:50 -08:00 committed by GitHub
commit d2e009f355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function(check_submodules_present)
string(REGEX REPLACE "path *= *" "" module ${module}) string(REGEX REPLACE "path *= *" "" module ${module})
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/${module}/.git") if (NOT EXISTS "${PROJECT_SOURCE_DIR}/${module}/.git")
message(FATAL_ERROR "Git submodule ${module} not found. " message(FATAL_ERROR "Git submodule ${module} not found. "
"Please run: git submodule update --init --recursive") "Please run: \ngit submodule update --init --recursive")
endif() endif()
endforeach() endforeach()
endfunction() endfunction()