mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
CMakeLists.txt: suggest to update all submodules if one of them is outdated
This commit is contained in:
parent
475481949a
commit
2e514b8faa
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ if(NOT MANUAL_SUBMODULES)
|
||||||
if (upToDate)
|
if (upToDate)
|
||||||
message(STATUS "Submodule '${relative_path}' is up-to-date")
|
message(STATUS "Submodule '${relative_path}' is up-to-date")
|
||||||
else()
|
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()
|
endif()
|
||||||
endfunction ()
|
endfunction ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue