Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
73f17514
Commit
73f17514
authored
Mar 02, 2008
by
Brad King
Browse files
ENH: During installation do not use builtin chrpath if the rpath will not change.
parent
652951b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmInstallTargetGenerator.cxx
View file @
73f17514
...
...
@@ -572,6 +572,12 @@ cmInstallTargetGenerator
// Get the install RPATH from the link information.
std
::
string
newRpath
=
cli
->
GetChrpathString
();
// Skip the rule if the paths are identical
if
(
oldRpath
==
newRpath
)
{
return
;
}
// Write a rule to run chrpath to set the install-tree RPATH
os
<<
indent
<<
"FILE(CHRPATH FILE
\"
"
<<
toDestDirPath
<<
"
\"\n
"
<<
indent
<<
" OLD_RPATH
\"
"
<<
oldRpath
<<
"
\"\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment