diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-21 17:59:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:19:53 (GMT) |
commit | 4c41e74da58b6f1057466e7eaa22942dc62c8802 (patch) | |
tree | ab7a818a41af9a6d3788c3cca3760ca24b758c63 /Source/cmInstallTargetGenerator.cxx | |
parent | 67b2f4312c431eb363dd94a2bb5d88cc6c8a7c95 (diff) | |
download | CMake-4c41e74da58b6f1057466e7eaa22942dc62c8802.zip CMake-4c41e74da58b6f1057466e7eaa22942dc62c8802.tar.gz CMake-4c41e74da58b6f1057466e7eaa22942dc62c8802.tar.bz2 |
Use cmLocalGenerator at generate-time.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index 7a10356..59d06f6 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -76,7 +76,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os, if(this->Target->NeedRelinkBeforeInstall(config)) { fromDirConfig = - this->Target->Target->GetMakefile()->GetCurrentBinaryDirectory(); + this->Target->GetLocalGenerator()->GetCurrentBinaryDirectory(); fromDirConfig += cmake::GetCMakeFilesDirectory(); fromDirConfig += "/CMakeRelink.dir/"; } @@ -111,7 +111,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os, case cmState::UTILITY: case cmState::GLOBAL_TARGET: case cmState::UNKNOWN_LIBRARY: - this->Target->Target->GetMakefile()->IssueMessage(cmake::INTERNAL_ERROR, + this->Target->GetLocalGenerator()->IssueMessage(cmake::INTERNAL_ERROR, "cmInstallTargetGenerator created with non-installable target."); return; } |