summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderLinkDirectories.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-09-08 18:22:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-09-08 18:22:58 (GMT)
commitb72d77d929b247cf60059c6f1635d01ac31e70bc (patch)
tree61037d3b3c5b4246a0497ad3f0ba88fabbf67f95 /Source/cmOrderLinkDirectories.cxx
parentaf59771b9b846e6eb52a9f15cc1be4d06a0ac833 (diff)
downloadCMake-b72d77d929b247cf60059c6f1635d01ac31e70bc.zip
CMake-b72d77d929b247cf60059c6f1635d01ac31e70bc.tar.gz
CMake-b72d77d929b247cf60059c6f1635d01ac31e70bc.tar.bz2
BUG: bug num 1994 library linking when a config is not specified but debug and opt libs are
Diffstat (limited to 'Source/cmOrderLinkDirectories.cxx')
-rw-r--r--Source/cmOrderLinkDirectories.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx
index 96ece46..b0b965b 100644
--- a/Source/cmOrderLinkDirectories.cxx
+++ b/Source/cmOrderLinkDirectories.cxx
@@ -258,7 +258,7 @@ void cmOrderLinkDirectories::SetLinkInformation(cmTarget& target,
continue;
}
if (lib->second == cmTarget::OPTIMIZED &&
- linktype != cmTarget::OPTIMIZED)
+ (linktype != cmTarget::OPTIMIZED && linktype != cmTarget::GENERAL))
{
continue;
}