diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-05 21:05:22 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-23 15:46:23 (GMT) |
commit | 1f39ee5bebf66aac33e7e1fa1172c048c13dfd2d (patch) | |
tree | 4054230624728ba75b0e1f646c1fe52fa1cf818e /Source/cmExportInstallFileGenerator.cxx | |
parent | c259b8302648de1387e21e9ea907cd1a2cb49933 (diff) | |
download | CMake-1f39ee5bebf66aac33e7e1fa1172c048c13dfd2d.zip CMake-1f39ee5bebf66aac33e7e1fa1172c048c13dfd2d.tar.gz CMake-1f39ee5bebf66aac33e7e1fa1172c048c13dfd2d.tar.bz2 |
cmInstallExportGenerator: Require cmLocalGenerator, not cmMakefile.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r-- | Source/cmExportInstallFileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index d55be11..7ffab0c 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -72,8 +72,8 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os) // Set an _IMPORT_PREFIX variable for import location properties // to reference if they are relative to the install prefix. - std::string installPrefix = - this->IEGen->GetMakefile()->GetSafeDefinition("CMAKE_INSTALL_PREFIX"); + std::string installPrefix = this->IEGen->GetLocalGenerator() + ->GetMakefile()->GetSafeDefinition("CMAKE_INSTALL_PREFIX"); std::string const& expDest = this->IEGen->GetDestination(); if(cmSystemTools::FileIsFullPath(expDest)) { |