diff options
author | Brad King <brad.king@kitware.com> | 2014-06-16 18:23:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-25 13:32:21 (GMT) |
commit | 1001490df27f3ab93f8a37a6f6c3b33aa26d22e2 (patch) | |
tree | 9916a6104b729ad098be7aa747e14f83737dcbc6 /Source/cmTarget.h | |
parent | f5c18c9c1c0434f3481b1684af5fe6e0ea823f87 (diff) | |
download | CMake-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.h | 1 |
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; |