diff options
author | Brad King <brad.king@kitware.com> | 2016-05-13 17:54:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-13 18:39:53 (GMT) |
commit | 9cb263d77271598de6eccbf12052e1a7a7a059a4 (patch) | |
tree | fdbc85038d8a87adf221e51153d410fb3947a96b /Source/cmComputeLinkInformation.cxx | |
parent | cb704c08710bdf6a4ca13261a059c277df26214a (diff) | |
download | CMake-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.cxx | 2 |
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 { |