diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-09-28 15:30:22 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2018-11-08 13:58:57 (GMT) |
commit | 023188ffb48cc35ebab7cabbafefcd6dd31b750d (patch) | |
tree | 088a0aea32a5e1a514cbb61b6bc5a007ad6a827b /Source/cmGeneratorExpressionNode.cxx | |
parent | 17e98e00c449ebdceac980c0ce65c800030605db (diff) | |
download | CMake-023188ffb48cc35ebab7cabbafefcd6dd31b750d.zip CMake-023188ffb48cc35ebab7cabbafefcd6dd31b750d.tar.gz CMake-023188ffb48cc35ebab7cabbafefcd6dd31b750d.tar.bz2 |
INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support
Fixes: #16532
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionNode.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index f901215..49b97fb 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -1225,7 +1225,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode const char* prop = target->GetProperty(propertyName); if (dagCheckerParent) { - if (dagCheckerParent->EvaluatingGenexExpression()) { + if (dagCheckerParent->EvaluatingGenexExpression() || + dagCheckerParent->EvaluatingPICExpression()) { // No check required. } else if (dagCheckerParent->EvaluatingLinkLibraries()) { #define TRANSITIVE_PROPERTY_COMPARE(PROPERTY) \ |