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).
This commit is contained in:
Stephen Kelly 2013-06-10 16:07:45 +02:00
parent 477e4136ef
commit 8a3b5bede8
1 changed files with 1 additions and 0 deletions

View File

@ -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);