mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 11:18:35 -06:00
ENH: Allow users to work around problems with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user