Skip to content

Commit

Permalink
DOC: Fixed git hook commit error message if clang-format is not found
Browse files Browse the repository at this point in the history
git hook commit error message if clang-format is not found needs to mention CMake flag ITK_USE_CLANG_FORMAT=True
  • Loading branch information
fabian-philips authored and dzenanz committed Jan 16, 2024
1 parent b05d6e4 commit 9076f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/Hooks/pre-commit-style.bash
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ check_for_clangformat() {
die "clang-format executable was not found.
A clang-format binary will be downloaded and configured when ITK
is built with the BUILD_TESTING CMake configuration option enabled.
is built with the (i) BUILD_TESTING=True and (ii) ITK_USE_CLANG_FORMAT=True CMake configuration options enabled.
Alternatively, install clang-format version $clangformat_required_version or set the executable location with
Expand Down

0 comments on commit 9076f05

Please sign in to comment.