diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx index 948508b9d..29406dc09 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);