summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-02 18:42:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-02 18:43:16 (GMT)
commit94648953befa6464e46469b1fa8d46b68d486321 (patch)
tree0858b729ee32be157f8e45bd041854bb7d038a5f /Source/cmGeneratorTarget.cxx
parent7bacf0233be03100b830e65cdd02a0d1fb2c2a13 (diff)
downloadCMake-94648953befa6464e46469b1fa8d46b68d486321.zip
CMake-94648953befa6464e46469b1fa8d46b68d486321.tar.gz
CMake-94648953befa6464e46469b1fa8d46b68d486321.tar.bz2
cmLinkItem: Simplify tracking of whether link interface is explicit
We now only need a boolean.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 7340bc2..42683db 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -5219,7 +5219,7 @@ void cmGeneratorTarget::ComputeLinkInterface(
const std::string& config, cmOptionalLinkInterface& iface,
cmGeneratorTarget const* headTarget) const
{
- if (iface.ExplicitLibraries) {
+ if (iface.Explicit) {
if (this->GetType() == cmStateEnums::SHARED_LIBRARY ||
this->GetType() == cmStateEnums::STATIC_LIBRARY ||
this->GetType() == cmStateEnums::INTERFACE_LIBRARY) {
@@ -5659,7 +5659,7 @@ void cmGeneratorTarget::ComputeLinkInterfaceLibraries(
return;
}
iface.Exists = true;
- iface.ExplicitLibraries = explicitLibraries;
+ iface.Explicit = explicitLibraries != nullptr;
if (explicitLibraries) {
// The interface libraries have been explicitly set.