diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 22:29:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:59 (GMT) |
commit | ce75c86ec30e736a738a4143d4abad73117e06c6 (patch) | |
tree | 6abb1bb3bc07a63021f096670c1e2b34d93f04af /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 526cc7dc52673f1eeb1055ce381e0551f763daea (diff) | |
download | CMake-ce75c86ec30e736a738a4143d4abad73117e06c6.zip CMake-ce75c86ec30e736a738a4143d4abad73117e06c6.tar.gz CMake-ce75c86ec30e736a738a4143d4abad73117e06c6.tar.bz2 |
cmGeneratorTarget: Move GetSupportDirectory from cmTarget.
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 2b019be..8b60a23 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -572,7 +572,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules if(this->Target->GetPropertyAsBool("WINDOWS_EXPORT_ALL_SYMBOLS")) { std::string name_of_def_file = - this->Target->GetSupportDirectory(); + this->GeneratorTarget->GetSupportDirectory(); name_of_def_file += std::string("/") + this->Target->GetName(); name_of_def_file += ".def"; @@ -643,7 +643,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules vars.CMTarget = this->Target; vars.Language = linkLanguage.c_str(); vars.Objects = buildObjs.c_str(); - std::string objectDir = this->Target->GetSupportDirectory(); + std::string objectDir = this->GeneratorTarget->GetSupportDirectory(); objectDir = this->Convert(objectDir, cmLocalGenerator::START_OUTPUT, cmLocalGenerator::SHELL); |