summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmDSPMakefile.cxx5
-rw-r--r--Source/cmDSPWriter.cxx5
2 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx
index 9af272e..7fa43f0 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 9af272e..7fa43f0 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)
{