summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-31 13:34:16 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-06 16:25:10 (GMT)
commit0f3e8e957f20c0e7c2ad4da326c073c94d7a5816 (patch)
tree4d04d9267ebc6d28eef7e9656b50590e7203d952 /Source/cmExportTryCompileFileGenerator.cxx
parent9ba47ee49b41569555f0ef85d7a5fce7ad09f0dc (diff)
downloadCMake-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/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 d9bc04c..8d37b62 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);