summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpression.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-08 13:34:05 -0500
committerBrad King <brad.king@kitware.com>2010-12-15 14:53:46 -0500
commit4749e4cb76cc1e23cb23f37ceec2e856a18218ce (patch)
treeb7de05b3bf3564243a31cfb398d256328c6f85fa /Source/cmGeneratorExpression.cxx
parentef9e9de0b80a08bb9290fce3816ff621d2ff3419 (diff)
downloadcmake-4749e4cb76cc1e23cb23f37ceec2e856a18218ce.tar.gz
Record set of targets used in cmGeneratorExpression
Diffstat (limited to 'Source/cmGeneratorExpression.cxx')
-rw-r--r--Source/cmGeneratorExpression.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index 971cad27d3..8710dfc939 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -141,6 +141,7 @@ bool cmGeneratorExpression::EvaluateTargetInfo(std::string& result)
result = "Target \"" + name + "\" is not an executable or library.";
return false;
}
+ this->Targets.insert(target);
// Lookup the target file with the given purpose.
std::string purpose = this->TargetInfo.match(1);