diff options
author | Brad King <brad.king@kitware.com> | 2008-04-07 14:55:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-04-07 14:55:52 (GMT) |
commit | c408760a8a8d2e8c65f231c399b4ed2e6d2087da (patch) | |
tree | 307faea6ba68410f7ac5f000523e225d73dce35d /Source/cmFileCommand.cxx | |
parent | 5824f44a7567d1d645a2a1c064652013a6b977e2 (diff) | |
download | CMake-c408760a8a8d2e8c65f231c399b4ed2e6d2087da.zip CMake-c408760a8a8d2e8c65f231c399b4ed2e6d2087da.tar.gz CMake-c408760a8a8d2e8c65f231c399b4ed2e6d2087da.tar.bz2 |
ENH: Improve error message when installation file(CHRPATH) cannot change the RPATH.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 4aa04e3..68ccbb2 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -1407,8 +1407,10 @@ bool cmFileCommand::HandleChrpathCommand(std::vector<std::string> const& args) else { cmOStringStream e; - e << "CHRPATH could not write new RPATH \"" - << newRPath << "\" to the file \"" << file << "\": " + e << "CHRPATH could not write new RPATH:\n" + << " " << newRPath << "\n" + << "to the file:\n" + << " " << file << "\n" << emsg; this->SetError(e.str().c_str()); return false; |