summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 8a56329..ae16288 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -222,8 +222,7 @@ cmInstallTargetGenerator
// An import library looks like a static library.
type = cmTarget::STATIC_LIBRARY;
}
- else if(this->Target->GetMakefile()->IsOn("APPLE") &&
- this->Target->GetPropertyAsBool("FRAMEWORK"))
+ else if(this->Target->IsFrameworkOnApple())
{
// Compute the build tree location of the framework directory
std::string from1 = fromDirConfig;