summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-10 14:07:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-10 14:12:22 (GMT)
commit8a3b5bede8c8fc16b7b7b25d7e665e8936de04ee (patch)
treea566c4662e23d2aeb03300211add6b082ebb8370 /Source/cmExportTryCompileFileGenerator.cxx
parent477e4136ef525e16e9d91174bf3bfebf8b0d2650 (diff)
downloadCMake-8a3b5bede8c8fc16b7b7b25d7e665e8936de04ee.zip
CMake-8a3b5bede8c8fc16b7b7b25d7e665e8936de04ee.tar.gz
CMake-8a3b5bede8c8fc16b7b7b25d7e665e8936de04ee.tar.bz2
Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.
This was missing from commit 80ca9c4b (Add COMPILE_OPTIONS target property., 2013-05-16).
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
-rw-r--r--Source/cmExportTryCompileFileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx
index 948508b..29406dc 100644
--- a/Source/cmExportTryCompileFileGenerator.cxx
+++ b/Source/cmExportTryCompileFileGenerator.cxx
@@ -33,6 +33,7 @@ bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os)
this->FindTargets("INTERFACE_INCLUDE_DIRECTORIES", te, emittedDeps);
this->FindTargets("INTERFACE_COMPILE_DEFINITIONS", te, emittedDeps);
+ this->FindTargets("INTERFACE_COMPILE_OPTIONS", te, emittedDeps);
this->PopulateProperties(te, properties, emittedDeps);