]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Bugfix: Set a compiler option for the correct build type
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 25 Jan 2014 09:53:35 +0000 (09:53 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 25 Jan 2014 09:53:35 +0000 (09:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@32311 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_gnu.cmake

index e0607ae195e55267d5342df267a40330f23eae12..59c4a245085d3d4735197c29fa052b36a87a77f9 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.