Skip to content

Commit

Permalink
feat(tools): Improves a cmake message for updating git submodules
Browse files Browse the repository at this point in the history
Closes #12776
  • Loading branch information
KonstantinKondrashov committed Dec 12, 2023
1 parent b486466 commit 8001fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cmake/git_submodules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8001fab

Please sign in to comment.