summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2023-08-14 21:01:30 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2023-08-15 18:59:14 (GMT)
commitc85fd9a70572961597978efa7204976c755721bf (patch)
treef0b805f4adee040cd218b5a7efab3a1d7ecf1ef6
parent2eab65ca828084559e1019bd1263c5ab147bf135 (diff)
downloadCMake-c85fd9a70572961597978efa7204976c755721bf.zip
CMake-c85fd9a70572961597978efa7204976c755721bf.tar.gz
CMake-c85fd9a70572961597978efa7204976c755721bf.tar.bz2
file: Clarify CMake only drops RPATHS's it added
-rw-r--r--Source/cmFileCommand.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 70f82ad..49a0e89 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -1014,7 +1014,8 @@ bool HandleRPathChangeCommand(std::vector<std::string> const& args,
if (success) {
if (changed) {
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);
}
ft.Store(file);
@@ -1068,7 +1069,8 @@ bool HandleRPathSetCommand(std::vector<std::string> const& args,
if (success) {
if (changed) {
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);
}
ft.Store(file);