diff options
Diffstat (limited to 'Source/cmMSDotNETGenerator.cxx')
-rw-r--r-- | Source/cmMSDotNETGenerator.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmMSDotNETGenerator.cxx b/Source/cmMSDotNETGenerator.cxx index ccf45eb..0a5b605 100644 --- a/Source/cmMSDotNETGenerator.cxx +++ b/Source/cmMSDotNETGenerator.cxx @@ -55,7 +55,12 @@ void cmMSDotNETGenerator::GenerateMakefile() if(config == "Debug" || config == "Release" || config == "MinSizeRel" || config == "RelWithDebInfo") { - m_Configurations.push_back(config); + // only add unique configurations + if(std::find(m_Configurations.begin(), + m_Configurations.end(), config) == m_Configurations.end()) + { + m_Configurations.push_back(config); + } } else { |