summaryrefslogtreecommitdiff
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-10 16:07:45 +0200
committerStephen Kelly <steveire@gmail.com>2013-06-10 16:12:22 +0200
commit8a3b5bede8c8fc16b7b7b25d7e665e8936de04ee (patch)
treea566c4662e23d2aeb03300211add6b082ebb8370 /Source/cmExportTryCompileFileGenerator.cxx
parent477e4136ef525e16e9d91174bf3bfebf8b0d2650 (diff)
downloadcmake-8a3b5bede8c8fc16b7b7b25d7e665e8936de04ee.tar.gz
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 948508b9d8..29406dc097 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);