summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-27 10:22:03 -0400
committerBrad King <brad.king@kitware.com>2008-05-27 10:22:03 -0400
commit757875df9151eb02e252caa4e4f5ee6522f5a99f (patch)
tree38d67faa987944e17f25708e896300bd1aace132 /Source/cmSystemTools.h
parent852242e56b74520b3c4486f4d5aca54b42c42a77 (diff)
downloadcmake-757875df9151eb02e252caa4e4f5ee6522f5a99f.tar.gz
ENH: Inform user when RPATH is set during installation.
- Original patch from Alex. - Modified to print only when RPATH is actually set.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 89cf407a2d..77b79839f7 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -391,7 +391,8 @@ public:
static bool ChangeRPath(std::string const& file,
std::string const& oldRPath,
std::string const& newRPath,
- std::string* emsg = 0);
+ std::string* emsg = 0,
+ bool* changed = 0);
/** Try to remove the RPATH from an ELF binary. */
static bool RemoveRPath(std::string const& file, std::string* emsg = 0);