BUG: fix for debug optimized link libraries

This commit is contained in:
Ken Martin 2005-07-05 09:00:20 -04:00
parent d129145619
commit d11707c6e6
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
{
cmakeBuildType = cmTarget::DEBUG;
}
if(buildType.size())
else if(buildType.size())
{
cmakeBuildType = cmTarget::OPTIMIZED;
}