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