Skip to content

Commit 00caa79

Browse files
committed
Turn off warning in Catch2 and benchmark. Update dependencies.
1 parent 1db60cf commit 00caa79

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ if (NOT has_parent)
1818
add_subdirectory(dependencies/cmake_strict_defaults)
1919
add_subdirectory(dependencies/bounded)
2020
add_subdirectory(dependencies/Catch2 EXCLUDE_FROM_ALL)
21+
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
22+
target_compile_options(Catch2 PUBLIC
23+
"-Wno-c2y-extensions"
24+
)
25+
endif()
2126
add_subdirectory(dependencies/numeric-traits)
2227
add_subdirectory(dependencies/operators)
2328
add_subdirectory(dependencies/std_module)
@@ -29,6 +34,7 @@ if (NOT has_parent)
2934
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
3035
target_compile_options(benchmark PUBLIC
3136
"-Wno-global-constructors"
37+
"-Wno-c2y-extensions"
3238
)
3339
endif()
3440
endif()

dependencies/Catch2

Submodule Catch2 updated 83 files

dependencies/benchmark

Submodule benchmark updated 60 files

dependencies/bounded

Submodule bounded updated 43 files

0 commit comments

Comments
 (0)