diff options
author | Brad King <brad.king@kitware.com> | 2008-03-02 21:37:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-02 21:37:34 (GMT) |
commit | 652951b976cedc29986c2a856f0ca4538c50a21a (patch) | |
tree | 3ab1553f7a1939a419cc8df38b8647196a599a19 /Source/cmTarget.cxx | |
parent | 78d27ce7a6ebca7252111c4a6b5ac574b253ac58 (diff) | |
download | CMake-652951b976cedc29986c2a856f0ca4538c50a21a.zip CMake-652951b976cedc29986c2a856f0ca4538c50a21a.tar.gz CMake-652951b976cedc29986c2a856f0ca4538c50a21a.tar.bz2 |
ENH: Allow users to work around problems with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 55947e2..7aaa755 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -3034,6 +3034,12 @@ bool cmTarget::IsChrpathUsed() return false; } + // Allow the user to disable builtin chrpath explicitly. + if(this->Makefile->IsOn("CMAKE_NO_BUILTIN_CHRPATH")) + { + return false; + } + // Enable if the rpath flag uses a separator and the target uses ELF // binaries. if(const char* ll = this->GetLinkerLanguage( |