From: Matthias Maier Date: Fri, 5 Oct 2012 08:40:21 +0000 (+0000) Subject: Bugfix X-Git-Tag: v8.0.0~1079^2~495 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe0a2d315c43c86bb2bc7e0d9a8514f2af9aba4e;p=dealii.git Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@26963 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/macros/macro_configure_feature.cmake b/deal.II/cmake/macros/macro_configure_feature.cmake index 509af92d87..b52158f33e 100644 --- a/deal.II/cmake/macros/macro_configure_feature.cmake +++ b/deal.II/cmake/macros/macro_configure_feature.cmake @@ -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)