diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 9bf477097..3bb172979 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1182,7 +1182,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout, { cmakeBuildType = cmTarget::DEBUG; } - if(buildType.size()) + else if(buildType.size()) { cmakeBuildType = cmTarget::OPTIMIZED; }