diff options
author | David Cole <david.cole@kitware.com> | 2007-08-01 17:04:45 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2007-08-01 17:04:45 (GMT) |
commit | ee91e2549921075b02f0a88fb48323b1c015228c (patch) | |
tree | e4189d3f1043bfc292981ceff2e7bf00bbf548ea /Source/cmLocalGenerator.cxx | |
parent | a0533be267e0304b3a13f17c3adc660e8a830f71 (diff) | |
download | CMake-ee91e2549921075b02f0a88fb48323b1c015228c.zip CMake-ee91e2549921075b02f0a88fb48323b1c015228c.tar.gz CMake-ee91e2549921075b02f0a88fb48323b1c015228c.tar.bz2 |
BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets
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 += "/"; |