diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-04-06 21:01:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-04-06 21:01:57 (GMT) |
commit | 70b14df3f06177a1e65dfc9eb4bb4c0b0938a2a2 (patch) | |
tree | f66ae18d6744c5be0a92bda9b6e5bb69bdb51f54 /Source/cmDSWWriter.cxx | |
parent | 2a7964e310d56a0e36e3c8581ca6b4904da03e41 (diff) | |
download | CMake-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.cxx | 2 |
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) { |