Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Don't autoformat FetchContent.cmake. #298

Merged
merged 2 commits into from
Mar 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ else
fi
if which cmake-format >/dev/null; then
echo "Running cmake-format $(cmake-format --version 2>&1)."
cmake-format -i $($FIND -name '*CMakeLists.txt' -print -o \
cmake-format -i $($FIND -name FetchContent.cmake -prune -o \
-name '*CMakeLists.txt' -print -o \
-name '*.cmake' -print)
else
echo "Can't find cmake-format. It can be installed with:"
Expand Down