Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
8a3b5bede8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);