Merge pull request #5472

2e514b8 CMakeLists.txt: suggest to update all submodules if one of them is outdated (erciccione)
pull/326/head
luigi1111 5 years ago
commit 2117d0680a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -187,7 +187,7 @@ if(NOT MANUAL_SUBMODULES)
if (upToDate)
message(STATUS "Submodule '${relative_path}' is up-to-date")
else()
message(FATAL_ERROR "Submodule '${relative_path}' is not up-to-date. Please update with\ngit submodule update --init --force ${relative_path}\nor run cmake with -DMANUAL_SUBMODULES=1")
message(FATAL_ERROR "Submodule '${relative_path}' is not up-to-date. Please update all submodules with\ngit submodule update --init --force\nor run cmake with -DMANUAL_SUBMODULES=1\n")
endif()
endfunction ()

Loading…
Cancel
Save