From 42a89981897a78d7316630db97f3c6e83ee2db88 Mon Sep 17 00:00:00 2001 From: maier Date: Tue, 26 Feb 2013 14:43:26 +0000 Subject: [PATCH] Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@28575 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/config/CMakeLists.txt | 2 +- deal.II/cmake/setup_compiler_flags_gnu.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/cmake/config/CMakeLists.txt b/deal.II/cmake/config/CMakeLists.txt index 6206c9be67..8233cac8dc 100644 --- a/deal.II/cmake/config/CMakeLists.txt +++ b/deal.II/cmake/config/CMakeLists.txt @@ -47,7 +47,7 @@ INSTALL(FILES # Strip -Wno-deprecated from CMAKE_CXX_FLAGS so that deprecation warnings # are actually shown for user code: # -STRIP_FLAG(CMAKE_CXX_FLAGS "-Wno-deprecated") +STRIP_FLAG(CMAKE_CXX_FLAGS "-Wno-deprecated-declarations") # # Populate a bunch of CONFIG_* variables with useful information: diff --git a/deal.II/cmake/setup_compiler_flags_gnu.cmake b/deal.II/cmake/setup_compiler_flags_gnu.cmake index 46acf22b37..9efc7865d5 100644 --- a/deal.II/cmake/setup_compiler_flags_gnu.cmake +++ b/deal.II/cmake/setup_compiler_flags_gnu.cmake @@ -76,7 +76,7 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-local-typedefs") # # Disable deprecation warnings # -ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-deprecated") +ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-deprecated-declarations") IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- 2.39.5