Merge topic 'rpath-on-mac'

dc1d025 OS X: Add test for rpaths on Mac.
8576b3f OS X: Add support for @rpath in export files.
00d71bd Xcode: Add rpath support in Xcode generator.
94e7fef OS X: Add RPATH support for Mac.
This commit is contained in:
Brad King
2013-06-03 09:56:44 -04:00
committed by CMake Topic Stage
29 changed files with 626 additions and 33 deletions

View File

@@ -624,8 +624,12 @@ cmExportFileGenerator
std::string value;
if(target->HasSOName(config))
{
if(mf->IsOn("CMAKE_PLATFORM_HAS_INSTALLNAME"))
{
value = this->InstallNameDir(target, config);
}
prop = "IMPORTED_SONAME";
value = target->GetSOName(config);
value += target->GetSOName(config);
}
else
{