File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ else(MSVC)
206
206
string (APPEND CMAKE_CXX_FLAGS " -Wextra" )
207
207
string (APPEND CMAKE_CXX_FLAGS " -Werror" )
208
208
string (APPEND CMAKE_CXX_FLAGS " -Wunknown-pragmas" )
209
+ string (APPEND CMAKE_CXX_FLAGS " -Wno-deprecated-declarations" )
209
210
string (APPEND CMAKE_CXX_FLAGS " -Wimplicit-fallthrough" )
210
211
string (APPEND CMAKE_CXX_FLAGS " -Wno-strict-aliasing" )
211
212
string (APPEND CMAKE_CXX_FLAGS " -Wunused-variable" )
Original file line number Diff line number Diff line change @@ -59,9 +59,6 @@ macro(add_benchmark BENCHNAME)
59
59
"-fsanitize=${USE_SANITIZER} " "-fno-omit-frame-pointer" )
60
60
target_link_options (${BENCHNAME} PRIVATE "-fsanitize=${USE_SANITIZER} " )
61
61
endif ()
62
- if (APPLE )
63
- target_link_options (${BENCHNAME} PRIVATE " -Wno-deprecated-declarations" )
64
- endif ()
65
62
66
63
if (OpenMP_FOUND )
67
64
target_link_libraries (${BENCHNAME} OpenMP::OpenMP_CXX )
You can’t perform that action at this time.
0 commit comments