Skip to content

Commit 5fde283

Browse files
committed
style: pre-commit
1 parent 6a9f883 commit 5fde283

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ enable_testing()
8686
add_subdirectory(test)
8787

8888
# TODO remove this hack when clang-20.2 is released
89-
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 20 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 20.2)
89+
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 20
90+
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 20.2
91+
)
9092
target_compile_options(mp-units-core PUBLIC "-Wno-unused-result")
9193
endif()

0 commit comments

Comments
 (0)