diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-10 04:09:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:37 (GMT) |
commit | 3def29da3c16ad3a72f05ea8b97ee728e6e3581e (patch) | |
tree | dd51569f6c5d8f6f8e35518f7fbc94054552d9a4 /Source/cmMakefileTargetGenerator.cxx | |
parent | acb116e3b52362b41988aa27eeb593dd2e7194c0 (diff) | |
download | CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.zip CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.tar.gz CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.tar.bz2 |
stringapi: Use strings for feature arguments
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 1af5d6c..f0c9a3f 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -2105,13 +2105,13 @@ void cmMakefileTargetGenerator::AddModuleDefinitionFlag(std::string& flags) } //---------------------------------------------------------------------------- -const char* cmMakefileTargetGenerator::GetFeature(const char* feature) +const char* cmMakefileTargetGenerator::GetFeature(const std::string& feature) { return this->Target->GetFeature(feature, this->ConfigName); } //---------------------------------------------------------------------------- -bool cmMakefileTargetGenerator::GetFeatureAsBool(const char* feature) +bool cmMakefileTargetGenerator::GetFeatureAsBool(const std::string& feature) { return cmSystemTools::IsOn(this->GetFeature(feature)); } |