summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-05 13:00:20 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-07-05 13:00:20 (GMT)
commitd11707c6e69aae989a9411c1171a24f666e1d11e (patch)
treeacfef14c52424c168948d4c6632faf6394c9bf0b /Source/cmLocalGenerator.cxx
parentd1291456191eb1a50b4dc51ab303ce374e8a34fb (diff)
downloadCMake-d11707c6e69aae989a9411c1171a24f666e1d11e.zip
CMake-d11707c6e69aae989a9411c1171a24f666e1d11e.tar.gz
CMake-d11707c6e69aae989a9411c1171a24f666e1d11e.tar.bz2
BUG: fix for debug optimized link libraries
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 9bf4770..3bb1729 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;
}