From b72d77d929b247cf60059c6f1635d01ac31e70bc Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 8 Sep 2005 14:22:58 -0400 Subject: [PATCH] BUG: bug num 1994 library linking when a config is not specified but debug and opt libs are --- Source/cmOrderLinkDirectories.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index 96ece4646..b0b965b9b 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; }