diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-24 23:19:14 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:22 (GMT) |
commit | 3e3c754b8cc3af463dcea95000daf3a18b359b7a (patch) | |
tree | 410f0101254e048f90fe08c90e32c18390e565dc /Source/cmLocalGenerator.cxx | |
parent | 593f347b5385a510e641eca0448f7ddf64c1c12b (diff) | |
download | CMake-3e3c754b8cc3af463dcea95000daf3a18b359b7a.zip CMake-3e3c754b8cc3af463dcea95000daf3a18b359b7a.tar.gz CMake-3e3c754b8cc3af463dcea95000daf3a18b359b7a.tar.bz2 |
cmLocalGenerator: Port internals to cmGeneratorTarget
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 1926772..b5f5ce9 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2033,7 +2033,7 @@ AddCompilerRequirementFlag(std::string &flags, } static void AddVisibilityCompileOption(std::string &flags, - cmTarget const* target, + cmGeneratorTarget const* target, cmLocalGenerator *lg, const std::string& lang, std::string* warnCMP0063) @@ -2073,7 +2073,7 @@ static void AddVisibilityCompileOption(std::string &flags, } static void AddInlineVisibilityCompileOption(std::string &flags, - cmTarget const* target, + cmGeneratorTarget const* target, cmLocalGenerator *lg, std::string* warnCMP0063) { @@ -2126,12 +2126,11 @@ void cmLocalGenerator } } - AddVisibilityCompileOption(flags, target->Target, this, lang, pWarnCMP0063); + AddVisibilityCompileOption(flags, target, this, lang, pWarnCMP0063); if(lang == "CXX") { - AddInlineVisibilityCompileOption(flags, target->Target, - this, pWarnCMP0063); + AddInlineVisibilityCompileOption(flags, target, this, pWarnCMP0063); } if (!warnCMP0063.empty() && |