diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-08-09 15:28:31 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-08-09 15:28:31 (GMT) |
commit | 791337f18124d745dd08a8f141cc258656dc052b (patch) | |
tree | 6c51b25ee52a5722ea582fa6853cdade7bc2f476 /Source/cmCommonTargetGenerator.cxx | |
parent | 7e3250da2fa0155a8c83b3aadef0407a701f2953 (diff) | |
download | CMake-791337f18124d745dd08a8f141cc258656dc052b.zip CMake-791337f18124d745dd08a8f141cc258656dc052b.tar.gz CMake-791337f18124d745dd08a8f141cc258656dc052b.tar.bz2 |
Refactor: cmCommonTargetGenerator::GetFeature returns cmProp
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r-- | Source/cmCommonTargetGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx index 7c2e20c..59e4141 100644 --- a/Source/cmCommonTargetGenerator.cxx +++ b/Source/cmCommonTargetGenerator.cxx @@ -39,10 +39,10 @@ std::vector<std::string> const& cmCommonTargetGenerator::GetConfigNames() const return this->ConfigNames; } -const char* cmCommonTargetGenerator::GetFeature(const std::string& feature, - const std::string& config) +cmProp cmCommonTargetGenerator::GetFeature(const std::string& feature, + const std::string& config) { - return this->GeneratorTarget->GetFeature(feature, config)->c_str(); + return this->GeneratorTarget->GetFeature(feature, config); } void cmCommonTargetGenerator::AddModuleDefinitionFlag( |