diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5c6a40b9..c0db84de 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,7 +11,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)") -Wcast-qual -Wconversion -Wctor-dtor-privacy - -Wdeprecated-register -Wdisabled-optimization -Werror -Wextra @@ -44,6 +43,7 @@ endif() if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_definitions( -Wc++11-compat + -Wdeprecated-register ) endif()