summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-16 18:23:22 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-25 13:32:21 (GMT)
commit1001490df27f3ab93f8a37a6f6c3b33aa26d22e2 (patch)
tree9916a6104b729ad098be7aa747e14f83737dcbc6 /Source/cmTarget.h
parentf5c18c9c1c0434f3481b1684af5fe6e0ea823f87 (diff)
downloadCMake-1001490df27f3ab93f8a37a6f6c3b33aa26d22e2.zip
CMake-1001490df27f3ab93f8a37a6f6c3b33aa26d22e2.tar.gz
CMake-1001490df27f3ab93f8a37a6f6c3b33aa26d22e2.tar.bz2
cmTarget: Teach ExpandLinkItems how to support $<LINK_ONLY>
Add a 'usage_requirements_only' parameter to ExpandLinkItems so that it knows whether to use SetTransitivePropertiesOnly while evaluating generator expressions. Update existing call sites to pass 'false' since they are for linking and not usage requirements.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 3f534f2..4930d70 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -777,6 +777,7 @@ private:
void ExpandLinkItems(std::string const& prop, std::string const& value,
std::string const& config, cmTarget const* headTarget,
+ bool usage_requirements_only,
std::vector<cmLinkItem>& items) const;
void LookupLinkItems(std::vector<std::string> const& names,
std::vector<cmLinkItem>& items) const;