]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Oct 2012 08:40:21 +0000 (08:40 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Oct 2012 08:40:21 +0000 (08:40 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26963 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_configure_feature.cmake

index 509af92d87c459c4811f1db644642548dc9092b1..b52158f33e0ccede9ee5432fc2b5ee451b623d36 100644 (file)
@@ -284,6 +284,12 @@ MACRO(CONFIGURE_FEATURE feature)
         ENDIF(FEATURE_${feature}_EXTERNAL_FOUND)
       ENDIF()
     ENDIF()
+  ELSE()
+    #
+    # DEAL_II_WITH_${feature} is defined and set to OFF, promote it to
+    # cache nevertheless:
+    #
+    SET_CACHED_OPTION(${feature} OFF)
   ENDIF()
 
   SET(FEATURE_${feature}_PROCESSED TRUE)

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.