feat(tools): Improves a cmake message for updating git submodules

Closes https://github.com/espressif/esp-idf/issues/12776
This commit is contained in:
KonstantinKondrashov 2023-12-12 15:54:37 +08:00
parent b486466339
commit 8001fabfbe

View File

@ -49,8 +49,8 @@ else()
endif()
elseif(NOT "${status}" STREQUAL " ")
message(WARNING "Git submodule ${submodule_path} is out of date. "
"Run 'git submodule update --init --recursive' to fix.")
message(WARNING "Git submodule ${submodule_path} is out of date. Run the following command to fix: "
"git submodule update --init --recursive")
endif()
# Force a re-run of cmake if the submodule's .git file changes or is changed (ie accidental deinit)