From d11707c6e69aae989a9411c1171a24f666e1d11e Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 5 Jul 2005 09:00:20 -0400 Subject: [PATCH] BUG: fix for debug optimized link libraries --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }