3
0
Fork 0
forked from suyu/suyu

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

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()