From: Matthias Maier Date: Mon, 4 Jun 2018 03:20:49 +0000 (-0500) Subject: CMake: make safeguard even more clear. X-Git-Tag: v9.1.0-rc1~1076^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e2c320a689530dd2839c374dbb51c72229c3fbc;p=dealii.git CMake: make safeguard even more clear. --- diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 9c429dd88f..d6dc15fb19 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -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\")" )