cmake: minor message improvements

This commit is contained in:
selsta 2020-08-26 03:07:18 +02:00
parent e65159163d
commit 03db3f96ff
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -68,7 +68,7 @@ if(GIT_FOUND)
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 using the checked head. Please update all submodules with\ngit submodule update --init --force\nor run cmake with -DMANUAL_SUBMODULES=1,\n or if you want to build from latest master run cmake with -DEV_MODE,\n or run make devmode") message(FATAL_ERROR "Submodule '${relative_path}' is not using the checked head. Please update all submodules with\ngit submodule update --init --force --recursive\nor run cmake with -DMANUAL_SUBMODULES=1,\n or if you want to build from latest master run cmake with -DDEV_MODE=ON,\n or run make devmode")
endif() endif()
endfunction () endfunction ()
message(STATUS "Checking submodules") message(STATUS "Checking submodules")