diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-18 15:57:29 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-18 15:57:29 (GMT) |
commit | a18d286635aed4feac32d64b589b528422e7eb6c (patch) | |
tree | 38f6b5b7f211820ea5d9ac95288ca6eb0946a468 /Source | |
parent | d64dc9b5bb23bbd7aa2f4b8673f0d02c4a8b73b6 (diff) | |
download | CMake-a18d286635aed4feac32d64b589b528422e7eb6c.zip CMake-a18d286635aed4feac32d64b589b528422e7eb6c.tar.gz CMake-a18d286635aed4feac32d64b589b528422e7eb6c.tar.bz2 |
ENH: move hack to fix "new cmake on old build tree on OSX doesn't have CMAKE_INSTALL_NAME_TOOL in the cache" from
cmInstallTargetGenerator.cxx to Darwin.cmake
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index 3487c26..a3d2dbb 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -349,14 +349,6 @@ void cmInstallTargetGenerator std::string installNameTool = this->Target->GetMakefile()->GetSafeDefinition("CMAKE_INSTALL_NAME_TOOL"); - // hack: if a new cmake runs on an old build tree, CMAKE_INSTALL_NAME_TOOL - // isn't in the cache, because it was simply hardcoded. To make this work - // adjust it here. - if((this->Target->GetMakefile()->IsOn("APPLE")) && (!installNameTool.size())) - { - installNameTool = "install_name_tool"; - } - if(!installNameTool.size()) { return; |