summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 8aa412d..9af272e 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -107,7 +107,10 @@ void cmDSPMakefile::OutputDSPFile()
this->SetBuildType(UTILITY, l->first.c_str());
break;
}
- this->CreateSingleDSP(l->first.c_str(),l->second);
+ if (l->second.GetType() != cmTarget::INSTALL)
+ {
+ this->CreateSingleDSP(l->first.c_str(),l->second);
+ }
}
}