summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index f55474b..ac0688e 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -376,6 +376,10 @@ void cmDSPMakefile::SetBuildType(BuildType b)
{
cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str());
}
+
+ // reset m_Configurations
+ m_Configurations.erase(m_Configurations.begin(), m_Configurations.end());
+ // now add all the configurations possible
char buffer[2048];
while(fin)
{