mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-20 14:13:01 +00:00
Remove annoying warning in macOS (deprecated-declarations)
This commit is contained in:
parent
8bb188a8df
commit
e60a59160b
@ -1452,6 +1452,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|||||||
else(CLANG_VERSION VERSION_LESS "600")
|
else(CLANG_VERSION VERSION_LESS "600")
|
||||||
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -std=c++14")
|
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -std=c++14")
|
||||||
endif(CLANG_VERSION VERSION_LESS "600")
|
endif(CLANG_VERSION VERSION_LESS "600")
|
||||||
|
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -Wno-deprecated-declarations")
|
||||||
endif(OS_IS_MACOSX)
|
endif(OS_IS_MACOSX)
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE MATCHES "Release")
|
if(CMAKE_BUILD_TYPE MATCHES "Release")
|
||||||
|
Loading…
Reference in New Issue
Block a user