summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-05-08 14:32:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-05-08 14:32:54 (GMT)
commit9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b (patch)
treeadf91f5e20d08609ec5c83ec09376fdc9e168f46 /Source/cmLocalGenerator.cxx
parent96232d405236231e6f4ba858a70621da9066f26c (diff)
downloadCMake-9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b.zip
CMake-9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b.tar.gz
CMake-9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b.tar.bz2
ENH: initial support for creation of frameworks on Mac
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 2200102..7479871 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1728,8 +1728,11 @@ void cmLocalGenerator
// off the per-configuration subdirectory. The link directory
// ordering knows how to deal with this.
linkItem += tgt->GetDirectory(0, implib);
- linkItem += "/";
- linkItem += tgt->GetFullName(config, implib);
+ if(!tgt->GetPropertyAsBool("FRAMEWORK"))
+ {
+ linkItem += "/";
+ linkItem += tgt->GetFullName(config, implib);
+ }
}
linkLibraries.push_back(linkItem);
// For full path, use the true location.