From 1e2c320a689530dd2839c374dbb51c72229c3fbc Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 3 Jun 2018 22:20:49 -0500 Subject: [PATCH] CMake: make safeguard even more clear. --- source/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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\")" ) -- 2.39.5