summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-24 14:06:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-24 14:06:56 (GMT)
commit9135e3707d18b3fc37274acc3fca3b9352309a09 (patch)
tree6917f7d6332b30fb84d5a5ed3821e04b1ac75300 /Source/cmExportInstallFileGenerator.cxx
parentaaf9532bbc2b45288de3350fa9379c10315c98d4 (diff)
parent1f39ee5bebf66aac33e7e1fa1172c048c13dfd2d (diff)
downloadCMake-9135e3707d18b3fc37274acc3fca3b9352309a09.zip
CMake-9135e3707d18b3fc37274acc3fca3b9352309a09.tar.gz
CMake-9135e3707d18b3fc37274acc3fca3b9352309a09.tar.bz2
Merge topic 'generators-use-cmLocalGenerator'
1f39ee5b cmInstallExportGenerator: Require cmLocalGenerator, not cmMakefile. c259b830 cmTestGenerator: Require cmLocalGenerator, not cmMakefile. 75e511ee cmInstallFilesGenerator: Require cmLocalGenerator, not cmMakefile.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx4
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))
{