summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-24 23:19:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-27 06:44:22 (GMT)
commit3e3c754b8cc3af463dcea95000daf3a18b359b7a (patch)
tree410f0101254e048f90fe08c90e32c18390e565dc /Source/cmLocalGenerator.cxx
parent593f347b5385a510e641eca0448f7ddf64c1c12b (diff)
downloadCMake-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.cxx9
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() &&