diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-29 08:22:32 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-09 19:31:35 (GMT) |
commit | 146493363ebcb7618e5da175f89b69fcc4f9bb16 (patch) | |
tree | 2bef0c685396f906424ca00e55840acc7db5c3b0 /Source/cmExportTryCompileFileGenerator.cxx | |
parent | dcac9be6aa33601db1b32f4efd9f724a97f8844b (diff) | |
download | CMake-146493363ebcb7618e5da175f89b69fcc4f9bb16.zip CMake-146493363ebcb7618e5da175f89b69fcc4f9bb16.tar.gz CMake-146493363ebcb7618e5da175f89b69fcc4f9bb16.tar.bz2 |
Genex: Simplify the preprocessor looper for interface properties.
By removing the INTERFACE_ prefix, we can use this in more contexts.
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx index b70fed6..d9bc04c 100644 --- a/Source/cmExportTryCompileFileGenerator.cxx +++ b/Source/cmExportTryCompileFileGenerator.cxx @@ -32,7 +32,7 @@ bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os) ImportPropertyMap properties; #define FIND_TARGETS(PROPERTY) \ - this->FindTargets(#PROPERTY, te, emittedDeps); + this->FindTargets("INTERFACE_" #PROPERTY, te, emittedDeps); CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(FIND_TARGETS) |