Просмотр исходного кода

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 лет назад
Родитель
Сommit
8a3b5bede8
1 измененных файлов с 1 добавлено и 0 удалено
  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);