Skip to content

Commit 085f991

Browse files
committed
Generate code with required clang-format version
1 parent 49b09e0 commit 085f991

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
@@ -166,7 +166,7 @@ if(UR_FORMAT_CPP_STYLE)
166166
message(STATUS "Found clang-format: ${CLANG_FORMAT} (version: ${CLANG_FORMAT_VERSION})")
167167

168168
set(CLANG_FORMAT_REQUIRED "15.0")
169-
if(NOT (CLANG_FORMAT_VERSION VERSION_GREATER_EQUAL CLANG_FORMAT_REQUIRED))
169+
if(NOT (CLANG_FORMAT_VERSION VERSION_EQUAL CLANG_FORMAT_REQUIRED))
170170
message(FATAL_ERROR "required clang-format version is ${CLANG_FORMAT_REQUIRED}")
171171
endif()
172172
else()

0 commit comments

Comments
 (0)