summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-27 14:22:03 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-27 14:22:03 (GMT)
commit757875df9151eb02e252caa4e4f5ee6522f5a99f (patch)
tree38d67faa987944e17f25708e896300bd1aace132 /Source/cmSystemTools.h
parent852242e56b74520b3c4486f4d5aca54b42c42a77 (diff)
downloadCMake-757875df9151eb02e252caa4e4f5ee6522f5a99f.zip
CMake-757875df9151eb02e252caa4e4f5ee6522f5a99f.tar.gz
CMake-757875df9151eb02e252caa4e4f5ee6522f5a99f.tar.bz2
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 89cf407..77b7983 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);