summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-06 21:01:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-06 21:01:57 (GMT)
commit70b14df3f06177a1e65dfc9eb4bb4c0b0938a2a2 (patch)
treef66ae18d6744c5be0a92bda9b6e5bb69bdb51f54 /Source/cmDSWWriter.cxx
parent2a7964e310d56a0e36e3c8581ca6b4904da03e41 (diff)
downloadCMake-70b14df3f06177a1e65dfc9eb4bb4c0b0938a2a2.zip
CMake-70b14df3f06177a1e65dfc9eb4bb4c0b0938a2a2.tar.gz
CMake-70b14df3f06177a1e65dfc9eb4bb4c0b0938a2a2.tar.bz2
BUG: fix depends for libraries and executables in the same dir
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r--Source/cmDSWWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx
index a61e2e9..a7fb010 100644
--- a/Source/cmDSWWriter.cxx
+++ b/Source/cmDSWWriter.cxx
@@ -126,7 +126,7 @@ void cmDSWMakefile::WriteProject(std::ostream& fout,
std::vector<std::string>::iterator i, end;
i = project->GetMakefile()->GetLinkLibraries().begin();
end = project->GetMakefile()->GetLinkLibraries().end();
- if(project->GetBuildType() != cmDSPMakefile::STATIC_LIBRARY)
+ if(project->NeedsDependencies(dspname))
{
for(;i!= end; ++i)
{