diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-31 13:34:16 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-06 16:25:10 (GMT) |
commit | 0f3e8e957f20c0e7c2ad4da326c073c94d7a5816 (patch) | |
tree | 4d04d9267ebc6d28eef7e9656b50590e7203d952 /Source/cmGeneratorExpressionEvaluator.cxx | |
parent | 9ba47ee49b41569555f0ef85d7a5fce7ad09f0dc (diff) | |
download | CMake-0f3e8e957f20c0e7c2ad4da326c073c94d7a5816.zip CMake-0f3e8e957f20c0e7c2ad4da326c073c94d7a5816.tar.gz CMake-0f3e8e957f20c0e7c2ad4da326c073c94d7a5816.tar.bz2 |
Undefine local preprocessor loop variables.
Most occurances of this pattern already contain the undef, so add it to
the rest too.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx index 1ddafca..f0e40ea 100644 --- a/Source/cmGeneratorExpressionEvaluator.cxx +++ b/Source/cmGeneratorExpressionEvaluator.cxx @@ -772,6 +772,8 @@ static const char* targetPropertyTransitiveWhitelist[] = { CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(TRANSITIVE_PROPERTY_NAME) }; +#undef TRANSITIVE_PROPERTY_NAME + std::string getLinkedTargetsContent(const std::vector<std::string> &libraries, cmTarget const* target, cmTarget const* headTarget, @@ -999,6 +1001,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode ASSERT_TRANSITIVE_PROPERTY_METHOD) false); } +#undef ASSERT_TRANSITIVE_PROPERTY_METHOD } std::string linkedTargetsContent; |