From: Matthias Maier <tamiko@kyomu.43-1.org>
Date: Fri, 5 Oct 2012 08:40:12 +0000 (+0000)
Subject: Bugfix
X-Git-Tag: v8.0.0~1079^2~496
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=704abec272e5d15805c76896babfa14755790297;p=dealii.git

Bugfix

git-svn-id: https://svn.dealii.org/branches/branch_cmake@26962 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 bc4ae86f19..509af92d87 100644
--- a/deal.II/cmake/macros/macro_configure_feature.cmake
+++ b/deal.II/cmake/macros/macro_configure_feature.cmake
@@ -261,9 +261,7 @@ MACRO(CONFIGURE_FEATURE feature)
               MESSAGE(STATUS
                 "DEAL_II_WITH_${feature} successfully set up with bundled packages."
                 )
-              IF(DEAL_II_FEATURE_AUTODETECTION)
-                SET_CACHED_OPTION(${feature} ON)
-              ENDIF()
+              SET_CACHED_OPTION(${feature} ON)
             ELSE()
               # This should not happen. So give an error
               MESSAGE(FATAL_ERROR