]> https://gitweb.dealii.org/ - dealii.git/commitdiff
clarify cmake dependency message 1063/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 30 Jun 2015 13:36:06 +0000 (09:36 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 30 Jun 2015 13:36:06 +0000 (09:36 -0400)
change the message:
BLA has unmet configuration requirements: MPI
has to be set to "ON".

to:
BLA has unmet configuration requirements: DEAL_II_WITH_MPI
has to be set to "ON".

cmake/macros/macro_configure_feature.cmake

index 41efaaf35f60436b63e9e673e0143e8d4e3417ac..77e07203342c7279644e1294e57ad3c4cdb992f0 100644 (file)
@@ -197,12 +197,12 @@ MACRO(CONFIGURE_FEATURE _feature)
         IF(DEAL_II_WITH_${_feature})
           MESSAGE(FATAL_ERROR "\n"
             "DEAL_II_WITH_${_feature} has unmet configuration requirements: "
-            "${_dependency} has to be set to \"ON\".\n\n"
+            "DEAL_II_WITH_${_dependency} has to be set to \"ON\".\n\n"
             )
         ELSE()
           MESSAGE(STATUS
             "DEAL_II_WITH_${_feature} has unmet configuration requirements: "
-            "${_dependency} has to be set to \"ON\"."
+            "DEAL_II_WITH_${_dependency} has to be set to \"ON\"."
             )
           PURGE_FEATURE(${_feature})
           SET_CACHED_OPTION(${_feature} OFF)

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.