summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-12-11 11:09:26 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2019-12-12 17:02:32 (GMT)
commitaf9d4f24ae3df599048ce69831e2635fb3605f90 (patch)
tree523bad0d979a2743ce9063e67d94e15982c01f5a /Source/cmGeneratorTarget.cxx
parent115cda729a092c62f1aa5769ae43cf26da27a6ed (diff)
downloadCMake-af9d4f24ae3df599048ce69831e2635fb3605f90.zip
CMake-af9d4f24ae3df599048ce69831e2635fb3605f90.tar.gz
CMake-af9d4f24ae3df599048ce69831e2635fb3605f90.tar.bz2
Link properties: must be transitive over private dependency on static library
Ensure transitivity over multiple static libraries. Fixes: bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06)
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 a4a074f..94ce2e1 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1215,8 +1215,8 @@ std::string cmGeneratorTarget::EvaluateInterfaceProperty(
context->EvaluateForBuildsystem, context->Backtrace,
context->Language);
std::string libResult = cmGeneratorExpression::StripEmptyListElements(
- lib.Target->EvaluateInterfaceProperty(prop, &libContext,
- &dagChecker));
+ lib.Target->EvaluateInterfaceProperty(prop, &libContext, &dagChecker,
+ usage_requirements_only));
if (!libResult.empty()) {
if (result.empty()) {
result = std::move(libResult);