From: Matthias Maier Date: Sat, 25 Jan 2014 09:53:35 +0000 (+0000) Subject: CMake: Bugfix: Set a compiler option for the correct build type X-Git-Tag: v8.2.0-rc1~958 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea2a93db1fffb431e73811e3c8013ef36cfc07b9;p=dealii.git CMake: Bugfix: Set a compiler option for the correct build type git-svn-id: https://svn.dealii.org/trunk@32311 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/setup_compiler_flags_gnu.cmake b/deal.II/cmake/setup_compiler_flags_gnu.cmake index e0607ae195..59c4a24508 100644 --- a/deal.II/cmake/setup_compiler_flags_gnu.cmake +++ b/deal.II/cmake/setup_compiler_flags_gnu.cmake @@ -171,7 +171,7 @@ IF (CMAKE_BUILD_TYPE MATCHES "Debug") # # Enable test coverage # - ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-fno-elide-constructors") + ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "-fno-elide-constructors") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "-ftest-coverage -fprofile-arcs") ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS_DEBUG "-ftest-coverage -fprofile-arcs") ENDIF()