summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-03 22:32:22 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-09 12:26:37 (GMT)
commitd70650d6c3c94d1d903eb7f21998861d8f7bf2c6 (patch)
tree4b9a90e4f347f24b59f14eeec9d477207a9c5379
parent4801eb633392eff95586709df570dabcdf0f5db1 (diff)
downloadCMake-d70650d6c3c94d1d903eb7f21998861d8f7bf2c6.zip
CMake-d70650d6c3c94d1d903eb7f21998861d8f7bf2c6.tar.gz
CMake-d70650d6c3c94d1d903eb7f21998861d8f7bf2c6.tar.bz2
GenEx: Return after error reported.
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index 22f60d4..ad5f83c 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -288,6 +288,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
<< target
<< "\" not found.";
reportError(context, content->GetOriginalExpression(), e.str());
+ return std::string();
}
propertyName = parameters.at(1);
}