style: pre-commit
This commit is contained in:
1 parent
6a9f883335
commit
5fde28332b
1 file changed
+3
-1
+3
-1
@@ -86,6 +86,8 @@ enable_testing()
|
||||
add_subdirectory(test)
|
||||
|
||||
# TODO remove this hack when clang-20.2 is released
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 20 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 20.2)
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 20
|
||||
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 20.2
|
||||
)
|
||||
target_compile_options(mp-units-core PUBLIC "-Wno-unused-result")
|
||||
endif()
|
||||
Reference in new issue
Block a user