diff options
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index bcf89e1..9912c6f 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1775,7 +1775,8 @@ void cmLocalGenerator // do not add the target full name but just use the directory // name #ifdef __APPLE__ - if(!tgt->GetPropertyAsBool("FRAMEWORK")) + if (!(tgt->GetType() == cmTarget::SHARED_LIBRARY && + tgt->GetPropertyAsBool("FRAMEWORK"))) #endif { linkItem += "/"; |