summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r--Source/cmDSWWriter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx
index a44dfda..3662f28 100644
--- a/Source/cmDSWWriter.cxx
+++ b/Source/cmDSWWriter.cxx
@@ -215,8 +215,7 @@ void cmDSWWriter::WriteProject(std::ostream& fout,
{
if(j->first != dspname)
{
- if (!(target.GetType() == cmTarget::LIBRARY) ||
- project->GetLibraryBuildType() == cmDSPWriter::DLL)
+ if (target.GetType() != cmTarget::STATIC_LIBRARY)
{
// is the library part of this DSW ? If so add dependency
const char* cacheValue