[cig-commits] [commit] master: fix error message formatting in cmake project (6068770)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue May 27 11:31:52 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/9f82cd6f15bf7d445eb2bcf064a84960d179591d...6068770d955287f4cd9f8124d763697c4a6934d9

>---------------------------------------------------------------

commit 6068770d955287f4cd9f8124d763697c4a6934d9
Author: Timo Heister <timo.heister at gmail.com>
Date:   Tue May 27 14:31:48 2014 -0400

    fix error message formatting in cmake project


>---------------------------------------------------------------

6068770d955287f4cd9f8124d763697c4a6934d9
 CMakeLists.txt | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 438aeaa..78f7bf6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,10 +35,9 @@ FIND_PACKAGE(deal.II 8.0 QUIET
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
   )
 IF(NOT ${deal.II_FOUND})
-  MESSAGE(FATAL_ERROR "\n"
-    "*** Could not find a suitably recent version of deal.II. ***\n\n"
-    "You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake\n"
-    "or set an environment variable \"DEAL_II_DIR\" that contains a path to a\n."
+  MESSAGE(FATAL_ERROR "\n*** Could not find a suitably recent version of deal.II. ***\n"
+    "You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake "
+    "or set an environment variable \"DEAL_II_DIR\" that contains a path to a "
     "sufficiently recent version of deal.II."
     )
 ENDIF()



More information about the CIG-COMMITS mailing list