File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ else(MSVC)
205
205
string (APPEND CMAKE_CXX_FLAGS " -Wall" )
206
206
string (APPEND CMAKE_CXX_FLAGS " -Wextra" )
207
207
string (APPEND CMAKE_CXX_FLAGS " -Werror" )
208
+ string (APPEND CMAKE_CXX_FLAGS " -Wno-deprecated-declarations" )
208
209
string (APPEND CMAKE_CXX_FLAGS " -Wunknown-pragmas" )
209
210
string (APPEND CMAKE_CXX_FLAGS " -Wimplicit-fallthrough" )
210
211
string (APPEND CMAKE_CXX_FLAGS " -Wno-strict-aliasing" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if (NOT ${MKL_FOUND})
20
20
endif ()
21
21
22
22
if (USE_SANITIZER )
23
- message (WARNING "USING SANITIZER IN TEST" )
23
+ message (WARNING "USING SANITIZER IN TEST" )
24
24
endif ()
25
25
26
26
if (${OpenMP_FOUND} )
@@ -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