diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-05 16:20:44 (GMT) |
commit | c971338416d7376d8b710b5c18957f6a800b3de0 (patch) | |
tree | 5af6784c169161aad87f912abb1743d4a4b7251c /Source/cmExportInstallFileGenerator.cxx | |
parent | 244c5b5dcdc5af1f91a79a81f7f7ec4047759fe8 (diff) | |
download | CMake-c971338416d7376d8b710b5c18957f6a800b3de0.zip CMake-c971338416d7376d8b710b5c18957f6a800b3de0.tar.gz CMake-c971338416d7376d8b710b5c18957f6a800b3de0.tar.bz2 |
Export: Port more API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r-- | Source/cmExportInstallFileGenerator.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index c88b7b2..b0bc686 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -193,7 +193,11 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os) this->PopulateInterfaceProperty("INTERFACE_POSITION_INDEPENDENT_CODE", te, properties); - this->PopulateCompatibleInterfaceProperties(te, properties); + cmGeneratorTarget *gtgt = te->GetMakefile() + ->GetGlobalGenerator() + ->GetGeneratorTarget(te); + + this->PopulateCompatibleInterfaceProperties(gtgt, properties); this->GenerateInterfaceProperties(te, os, properties); } |