We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0eb88 commit 44f472bCopy full SHA for 44f472b
CMakeLists.txt
@@ -25,6 +25,11 @@ if (NOT has_parent)
25
add_subdirectory(dependencies/std_module)
26
27
add_subdirectory(dependencies/Catch2 EXCLUDE_FROM_ALL)
28
+ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
29
+ target_compile_options(Catch2 PUBLIC
30
+ "-Wno-c2y-extensions"
31
+ )
32
+ endif()
33
34
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Disable testing benchmark.")
35
add_subdirectory(dependencies/benchmark EXCLUDE_FROM_ALL)
@@ -33,6 +38,7 @@ if (NOT has_parent)
38
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
39
target_compile_options(benchmark PUBLIC
40
"-Wno-global-constructors"
41
36
42
)
37
43
endif()
44
0 commit comments