diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-10-20 18:31:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-08 23:04:37 (GMT) |
commit | 8b0168863ed121c7d9f05e3282e2f59490ff6c42 (patch) | |
tree | de9d3bd38dbccd54dd9e11d03d79840bb1a5babe /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | e0261a1e20f14cc2ca593bb978479b52954397d8 (diff) | |
download | CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.zip CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.gz CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.bz2 |
cmGeneratorTarget: Move GetDirectory from cmTarget.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 2395ce7..4c9b82b 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1780,7 +1780,7 @@ void cmVisualStudio10TargetGenerator::WritePathAndIncrementalLinkOptions() } else { - outDir = this->Target->GetDirectory(config->c_str()) + "/"; + outDir = this->GeneratorTarget->GetDirectory(config->c_str()) + "/"; targetNameFull = this->GeneratorTarget->GetFullName(config->c_str()); } this->ConvertToWindowsSlash(intermediateDir); @@ -2584,7 +2584,8 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config) std::string pdb = this->Target->GetPDBDirectory(config.c_str()); pdb += "/"; pdb += targetNamePDB; - std::string imLib = this->Target->GetDirectory(config.c_str(), true); + std::string imLib = + this->GeneratorTarget->GetDirectory(config.c_str(), true); imLib += "/"; imLib += targetNameImport; |