summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4643d30..ae17b40 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -3797,7 +3797,7 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface)
if(li->second != cmTarget::GENERAL && li->second != linkType)
{
// Support OLD behavior for CMP0003.
- if(doLibraries && !emittedWrongConfig.insert(item).second)
+ if(doLibraries && emittedWrongConfig.insert(item).second)
{
iface.WrongConfigLibraries.push_back(item);
}