Remove annoying warning in macOS (deprecated-declarations)

This commit is contained in:
Carles Fernandez 2017-08-26 00:22:12 +02:00
parent 005917ac56
commit 4e49330ad4
1 changed files with 1 additions and 0 deletions

View File

@ -1452,6 +1452,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
else(CLANG_VERSION VERSION_LESS "600")
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -std=c++14")
endif(CLANG_VERSION VERSION_LESS "600")
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -Wno-deprecated-declarations")
endif(OS_IS_MACOSX)
if(CMAKE_BUILD_TYPE MATCHES "Release")