summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:44 (GMT)
commitc971338416d7376d8b710b5c18957f6a800b3de0 (patch)
tree5af6784c169161aad87f912abb1743d4a4b7251c /Source/cmExportInstallFileGenerator.cxx
parent244c5b5dcdc5af1f91a79a81f7f7ec4047759fe8 (diff)
downloadCMake-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.cxx6
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);
}