mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Property: Add INSTALL_REMOVE_ENVIROMENT_RPATH property
This commit is contained in:
@@ -767,12 +767,18 @@ void cmInstallTargetGenerator::AddChrpathPatchRule(
|
||||
this->IssueCMP0095Warning(newRpath);
|
||||
CM_FALLTHROUGH;
|
||||
case cmPolicies::OLD:
|
||||
os << indent << " NEW_RPATH \"" << newRpath << "\")\n";
|
||||
os << indent << " NEW_RPATH \"" << newRpath << "\"";
|
||||
break;
|
||||
default:
|
||||
os << indent << " NEW_RPATH " << escapedNewRpath << ")\n";
|
||||
os << indent << " NEW_RPATH " << escapedNewRpath;
|
||||
break;
|
||||
}
|
||||
|
||||
if (this->Target->GetPropertyAsBool("INSTALL_REMOVE_ENVIRONMENT_RPATH")) {
|
||||
os << "\n" << indent << " INSTALL_REMOVE_ENVIRONMENT_RPATH)\n";
|
||||
} else {
|
||||
os << indent << ")\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user