Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 79bf6d6

Browse files
if CHECK_CPP_STYLE is ON, then clang-format should be required
1 parent 3968361 commit 79bf6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ if(CHECK_CPP_STYLE)
223223
message(FATAL_ERROR "required clang-format version is ${CLANG_FORMAT_REQUIRED} (found version: ${CLANG_FORMAT_VERSION})")
224224
endif()
225225
else()
226-
message(WARNING "clang-format not found - C++ sources will not be checked (required version: ${CLANG_FORMAT_REQUIRED})")
226+
message(FATAL_ERROR "CHECK_CPP_STYLE=ON, but clang-format not found (required version: ${CLANG_FORMAT_REQUIRED})")
227227
endif()
228228
endif()
229229

0 commit comments

Comments
 (0)