summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-18 10:24:41 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-18 11:07:32 (GMT)
commitec2c67bcf3aada9b601d5dca52b31a4fb6104240 (patch)
treee0fabec542d7f0248157a32c67826339521e5bce /Source/cmGeneratorExpressionEvaluator.cxx
parenta0ac2c59feec347a4cc93ab46fcf28f1dad49e99 (diff)
downloadCMake-ec2c67bcf3aada9b601d5dca52b31a4fb6104240.zip
CMake-ec2c67bcf3aada9b601d5dca52b31a4fb6104240.tar.gz
CMake-ec2c67bcf3aada9b601d5dca52b31a4fb6104240.tar.bz2
Strip stray semicolons when evaluating generator expressions.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index cd6a40b..023daf8 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -508,6 +508,9 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
}
}
+ linkedTargetsContent =
+ cmGeneratorExpression::StripEmptyListElements(linkedTargetsContent);
+
if (!prop)
{
if (target->IsImported())