From 8001fabfbed363d99236f0d337debc004aac5857 Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Tue, 12 Dec 2023 15:54:37 +0800 Subject: [PATCH] feat(tools): Improves a cmake message for updating git submodules Closes https://github.com/espressif/esp-idf/issues/12776 --- tools/cmake/git_submodules.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cmake/git_submodules.cmake b/tools/cmake/git_submodules.cmake index e36ee919f7..1e1e3967f8 100644 --- a/tools/cmake/git_submodules.cmake +++ b/tools/cmake/git_submodules.cmake @@ -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)