From 392a2a6e1914ce9bb601441a178a9f09fb4a88d6 Mon Sep 17 00:00:00 2001
From: Timo Heister <timo.heister@gmail.com>
Date: Tue, 30 Jun 2015 09:36:06 -0400
Subject: [PATCH] clarify cmake dependency message

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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/macros/macro_configure_feature.cmake b/cmake/macros/macro_configure_feature.cmake
index 41efaaf35f..77e0720334 100644
--- a/cmake/macros/macro_configure_feature.cmake
+++ b/cmake/macros/macro_configure_feature.cmake
@@ -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)
-- 
2.39.5