Parcourir la 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 il y a 12 ans
Parent
commit
8a3b5bede8
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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_INCLUDE_DIRECTORIES", te, emittedDeps);
       this->FindTargets("INTERFACE_COMPILE_DEFINITIONS", te, emittedDeps);
       this->FindTargets("INTERFACE_COMPILE_DEFINITIONS", te, emittedDeps);
+      this->FindTargets("INTERFACE_COMPILE_OPTIONS", te, emittedDeps);
 
 
       this->PopulateProperties(te, properties, emittedDeps);
       this->PopulateProperties(te, properties, emittedDeps);