cmake: Added missing newline to missing submodule message

This commit is contained in:
OpenSauce04 2026-02-17 15:25:54 +00:00
parent 354f5d698f
commit d0eaf07a40

View file

@ -223,7 +223,7 @@ function(check_submodules_present)
foreach(module ${gitmodules}) foreach(module ${gitmodules})
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(SEND_ERROR "Git submodule ${module} not found." message(SEND_ERROR "Git submodule ${module} not found.\n"
"Please run: git submodule update --init --recursive") "Please run: git submodule update --init --recursive")
endif() endif()
endforeach() endforeach()