]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: make safeguard even more clear.
authorMatthias Maier <tamiko@43-1.org>
Mon, 4 Jun 2018 03:20:49 +0000 (22:20 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 5 Jun 2018 02:15:16 +0000 (21:15 -0500)
source/CMakeLists.txt

index 9c429dd88f9c71b9308dde7dda256d5dd2ef40f5..d6dc15fb198f90e749adc984ec289144c53d1581 100644 (file)
@@ -22,9 +22,10 @@ IF("${DEAL_II_PACKAGE_NAME}" STREQUAL  "")
   MESSAGE(FATAL_ERROR
     "\nWrong source directory specified.\n"
     "You pointed cmake to the subdirectory \"source\" instead of the base "
-    "directory. Make sure that the path in the cmake invocation does not "
-    "end in source. If you have created a \"build\" subdirectory, the "
-    "cmake invocation should simply be of the form:\n"
+    "directory (the one containing the file \"README.md\"). Make sure that "
+    "the path in the cmake invocation does not end in \".../source\". If you "
+    "have created a \"build\" subdirectory, the cmake invocation should simply "
+    "be of the form:\n"
     "  $ cmake  [...options...]  /..\n"
     "(path not ending in \".../source\")"
     )

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.