summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderLinkDirectories.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-31 22:59:28 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-31 22:59:28 (GMT)
commit5ebe1f573fedc1cf96ff9c0134f9403b04eb5af0 (patch)
treeda9197fe181f918a9fddd910619d6647847522ea /Source/cmOrderLinkDirectories.cxx
parentae10b3578d3234db1e379b663657fbdb9d1ac543 (diff)
downloadCMake-5ebe1f573fedc1cf96ff9c0134f9403b04eb5af0.zip
CMake-5ebe1f573fedc1cf96ff9c0134f9403b04eb5af0.tar.gz
CMake-5ebe1f573fedc1cf96ff9c0134f9403b04eb5af0.tar.bz2
ENH: fix for bug 3067 the first framework ate the rest of the libraries
Diffstat (limited to 'Source/cmOrderLinkDirectories.cxx')
-rw-r--r--Source/cmOrderLinkDirectories.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx
index f6a440d..f57027d 100644
--- a/Source/cmOrderLinkDirectories.cxx
+++ b/Source/cmOrderLinkDirectories.cxx
@@ -258,11 +258,11 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder()
cmStdString dir;
cmStdString file;
std::vector<cmStdString> empty;
- bool framework = false;
// do not add a -F for the system frameworks
this->EmittedFrameworkPaths.insert("/System/Library/Frameworks");
for(unsigned int i=0; i < this->RawLinkItems.size(); ++i)
{
+ bool framework = false;
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str()))
{
if(cmSystemTools::FileIsDirectory(this->RawLinkItems[i].c_str()))