diff options
author | Brad King <brad.king@kitware.com> | 2014-03-21 12:28:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-21 12:28:37 (GMT) |
commit | bccc056ba86ede84b9f0acb066de97103a74268a (patch) | |
tree | cea54f52855fe73200cd3e278d1f9cafa241d143 | |
parent | 0f79dab48bf17e867fe19a7b7140fa7513f4b72d (diff) | |
download | CMake-bccc056ba86ede84b9f0acb066de97103a74268a.zip CMake-bccc056ba86ede84b9f0acb066de97103a74268a.tar.gz CMake-bccc056ba86ede84b9f0acb066de97103a74268a.tar.bz2 |
cmake: Advise user to remove CMakeFiles with CMakeCache.txt (#14820)
-rw-r--r-- | Source/cmake.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index ede6842..2cf636c 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1413,8 +1413,8 @@ int cmake::ActualConfigure() message += "\nDoes not match the generator used previously: "; message += genName; message += - "\nEither remove the CMakeCache.txt file or choose a different" - " binary directory."; + "\nEither remove the CMakeCache.txt file and CMakeFiles " + "directory or choose a different binary directory."; cmSystemTools::Error(message.c_str()); return -2; } @@ -1445,8 +1445,8 @@ int cmake::ActualConfigure() message += "\nDoes not match the toolset used previously: "; message += tsName; message += - "\nEither remove the CMakeCache.txt file or choose a different" - " binary directory."; + "\nEither remove the CMakeCache.txt file and CMakeFiles " + "directory or choose a different binary directory."; cmSystemTools::Error(message.c_str()); return -2; } |