diff options
author | Brad King <brad.king@kitware.com> | 2009-07-07 14:57:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-07 14:57:02 (GMT) |
commit | afbd595e859f1b7df946c77408adcef18c744ff5 (patch) | |
tree | 3c74678ef64da72afd1a539aca28cf6dd1a38f82 /Source/cmTarget.cxx | |
parent | 94a4a614ca62b2415fa06cbd1a3f4410f822bff1 (diff) | |
download | CMake-afbd595e859f1b7df946c77408adcef18c744ff5.zip CMake-afbd595e859f1b7df946c77408adcef18c744ff5.tar.gz CMake-afbd595e859f1b7df946c77408adcef18c744ff5.tar.bz2 |
BUG: Fix CMP0003 wrong-config link dir support
This fixes a dumb logic error introduced by the centralization of link
interface computation. It prevented link directories from alternate
configurations from getting listed by the OLD behavior of CMP0003 for
targets linked as transitive dependencies.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
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); } |