Browse Source

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).
Stephen Kelly 12 years ago
parent
commit
8a3b5bede8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmExportTryCompileFileGenerator.cxx

+ 1 - 0
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);