Merge topic 'remove-CMakeFiles-advice'
bccc056b
cmake: Advise user to remove CMakeFiles with CMakeCache.txt (#14820)
This commit is contained in:
commit
f04e217cc1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue