summaryrefslogtreecommitdiff
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-31 14:34:16 +0100
committerStephen Kelly <steveire@gmail.com>2014-01-06 17:25:10 +0100
commit0f3e8e957f20c0e7c2ad4da326c073c94d7a5816 (patch)
tree4d04d9267ebc6d28eef7e9656b50590e7203d952 /Source/cmExportTryCompileFileGenerator.cxx
parent9ba47ee49b41569555f0ef85d7a5fce7ad09f0dc (diff)
downloadcmake-0f3e8e957f20c0e7c2ad4da326c073c94d7a5816.tar.gz
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/cmExportTryCompileFileGenerator.cxx')
-rw-r--r--Source/cmExportTryCompileFileGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx
index d9bc04c95b..8d37b622f4 100644
--- a/Source/cmExportTryCompileFileGenerator.cxx
+++ b/Source/cmExportTryCompileFileGenerator.cxx
@@ -36,6 +36,8 @@ bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os)
CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(FIND_TARGETS)
+#undef FIND_TARGETS
+
this->PopulateProperties(te, properties, emittedDeps);
this->GenerateInterfaceProperties(te, os, properties);