1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-19 19:43:23 +08:00

file: Clarify CMake only drops RPATHS's it added

This commit is contained in:
Robert Maynard
2023-08-14 17:01:30 -04:00
parent 2eab65ca82
commit c85fd9a705

View File

@@ -1014,7 +1014,8 @@ bool HandleRPathChangeCommand(std::vector<std::string> const& args,
if (success) { if (success) {
if (changed) { if (changed) {
std::string message = std::string message =
cmStrCat("Set runtime path of \"", file, "\" to \"", *newRPath, '"'); cmStrCat("Set non-toolchain portion of runtime path of \"", file,
"\" to \"", *newRPath, '"');
status.GetMakefile().DisplayStatus(message, -1); status.GetMakefile().DisplayStatus(message, -1);
} }
ft.Store(file); ft.Store(file);
@@ -1068,7 +1069,8 @@ bool HandleRPathSetCommand(std::vector<std::string> const& args,
if (success) { if (success) {
if (changed) { if (changed) {
std::string message = std::string message =
cmStrCat("Set runtime path of \"", file, "\" to \"", *newRPath, '"'); cmStrCat("Set non-toolchain portion of runtime path of \"", file,
"\" to \"", *newRPath, '"');
status.GetMakefile().DisplayStatus(message, -1); status.GetMakefile().DisplayStatus(message, -1);
} }
ft.Store(file); ft.Store(file);