diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx index 9af272eb1..7fa43f0c9 100644 --- a/Source/cmDSPMakefile.cxx +++ b/Source/cmDSPMakefile.cxx @@ -106,6 +106,11 @@ void cmDSPMakefile::OutputDSPFile() case cmTarget::UTILITY: this->SetBuildType(UTILITY, l->first.c_str()); break; + case cmTarget::INSTALL: + break; + default: + cmSystemTools::Error("Bad target type", l->first.c_str()); + break; } if (l->second.GetType() != cmTarget::INSTALL) { diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 9af272eb1..7fa43f0c9 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -106,6 +106,11 @@ void cmDSPMakefile::OutputDSPFile() case cmTarget::UTILITY: this->SetBuildType(UTILITY, l->first.c_str()); break; + case cmTarget::INSTALL: + break; + default: + cmSystemTools::Error("Bad target type", l->first.c_str()); + break; } if (l->second.GetType() != cmTarget::INSTALL) {