summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-13 17:54:08 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-13 18:39:53 (GMT)
commit9cb263d77271598de6eccbf12052e1a7a7a059a4 (patch)
treefdbc85038d8a87adf221e51153d410fb3947a96b /Source/cmComputeLinkInformation.cxx
parentcb704c08710bdf6a4ca13261a059c277df26214a (diff)
downloadCMake-9cb263d77271598de6eccbf12052e1a7a7a059a4.zip
CMake-9cb263d77271598de6eccbf12052e1a7a7a059a4.tar.gz
CMake-9cb263d77271598de6eccbf12052e1a7a7a059a4.tar.bz2
cmComputeLinkInformation: Do not mark interface library as a path
The empty string we add as a link item for an INTERFACE_LIBRARY target is not a path, so do not mark it as such. The generators currently tolerate it either way, but only by accident.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 0aa6a99..5b42b1a 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -655,7 +655,7 @@ void cmComputeLinkInformation::AddItem(std::string const& item,
// Add the interface library as an item so it can be considered as part
// of COMPATIBLE_INTERFACE_ enforcement. The generators will ignore
// this for the actual link line.
- this->Items.push_back(Item(std::string(), true, tgt));
+ this->Items.push_back(Item(std::string(), false, tgt));
}
else
{