summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkItem.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-27 17:31:33 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-29 11:48:11 (GMT)
commit854e67985e25886770b4e76546afff9567ba99f0 (patch)
tree891e350132a04084a60e6cc5a8285c944120d420 /Source/cmLinkItem.cxx
parentf6170c1322d290ae7115ca7b07b074c6ca374f91 (diff)
downloadCMake-854e67985e25886770b4e76546afff9567ba99f0.zip
CMake-854e67985e25886770b4e76546afff9567ba99f0.tar.gz
CMake-854e67985e25886770b4e76546afff9567ba99f0.tar.bz2
cmLinkItem: Clarify name of CMP0027 check member
The only purpose of `cmLinkImplItem`'s `FromGenex` member is to decide whether to check CMP0027. That won't be needed for link items added by new interfaces in the future. Clarify the name to indicate that we do not always need to know if the item came from a generator expression.
Diffstat (limited to 'Source/cmLinkItem.cxx')
-rw-r--r--Source/cmLinkItem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLinkItem.cxx b/Source/cmLinkItem.cxx
index 62e7ef4..2dc40ff 100644
--- a/Source/cmLinkItem.cxx
+++ b/Source/cmLinkItem.cxx
@@ -68,8 +68,8 @@ cmLinkImplItem::cmLinkImplItem()
{
}
-cmLinkImplItem::cmLinkImplItem(cmLinkItem item, bool fromGenex)
+cmLinkImplItem::cmLinkImplItem(cmLinkItem item, bool checkCMP0027)
: cmLinkItem(std::move(item))
- , FromGenex(fromGenex)
+ , CheckCMP0027(checkCMP0027)
{
}