]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Some clarification
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 14 Sep 2012 20:25:06 +0000 (20:25 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 14 Sep 2012 20:25:06 +0000 (20:25 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26390 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/cmake/macros/macro_check_cxx_compiler_bug.cmake
deal.II/contrib/cmake/macros/macro_configure_feature.cmake

index b920522f204abffcc1d24837c14e481013751a8a..0e38b745983b368b73155f568a392b1880a05b6e 100644 (file)
@@ -14,7 +14,7 @@ MACRO(CHECK_CXX_COMPILER_BUG source var)
   IF(${var}_OK)
     MESSAGE(STATUS "Test successful, do not define ${var}")
   ELSE()
-    MESSAGE(STATUS "Test unsuccessful, definig ${var}")
+    MESSAGE(STATUS "Test unsuccessful, define ${var}")
     SET(${var} 1)
   ENDIF()
 
index 0d1dcb1ffc85a350252c23ded07f62ed5e789866..753e876e4ecc0e7c17aa40c3f4127e81811f466c 100644 (file)
@@ -71,7 +71,7 @@ ENDMACRO()
 
 MACRO(CONFIGURE_FEATURE feature)
 
-  # Only (try) to configure ${feature} if we have to:
+  # Only try to configure ${feature} if we have to:
   IF(DEAL_II_FEATURE_AUTODETECTION OR DEAL_II_WITH_${feature})
 
     #
@@ -106,7 +106,7 @@ MACRO(CONFIGURE_FEATURE feature)
           )
       ENDIF()
 
-    ELSE()
+    ELSE(DEAL_II_FORCE_CONTRIB_${feature})
 
       #
       # Second case: We are allowed to search for an external library:
@@ -181,7 +181,7 @@ MACRO(CONFIGURE_FEATURE feature)
         ENDIF()
 
       ENDIF()
-    ENDIF()
+    ENDIF(DEAL_II_FORCE_CONTRIB_${feature})
 
   ENDIF()
 ENDMACRO()

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.