Commit 652951b9 authored by Brad King's avatar Brad King
Browse files

ENH: Allow users to work around problems with the builtin chrpath by setting...

ENH: Allow users to work around problems with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH.
parent 78d27ce7
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment