Skip to content

Commit f8458ae

Browse files
committed
Mute clang warning
1 parent 97b8028 commit f8458ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

extras/tests/Misc/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@ set_tests_properties(Issue2181
4242
PROPERTIES
4343
LABELS "Catch"
4444
)
45+
46+
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
47+
target_compile_options(Issue2181
48+
PRIVATE
49+
-Wno-keyword-macro # keyword is hidden by macro definition
50+
)
51+
endif()

0 commit comments

Comments
 (0)