Browse Source
Merge pull request #7273 from fpdotmonkey/submodule-checkout-command-on-new-line
Move the cmake submodule checkout command to a new line
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
CMakeLists.txt
|
|
@ -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() |
|
|
|