summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-11 18:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-11 18:03:03 (GMT)
commit18726ad634d0f182940d45e9f569000cebcc4377 (patch)
tree89e7eea76cb7226f58c8a567a24b9ccc7533d0db /Source/cmCommonTargetGenerator.cxx
parentfd1df4995b6c1e063bb978e034a264b0e2d59f63 (diff)
downloadCMake-18726ad634d0f182940d45e9f569000cebcc4377.zip
CMake-18726ad634d0f182940d45e9f569000cebcc4377.tar.gz
CMake-18726ad634d0f182940d45e9f569000cebcc4377.tar.bz2
GetFeature(): return cmProp
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r--Source/cmCommonTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx
index 051eff6..8aee27c 100644
--- a/Source/cmCommonTargetGenerator.cxx
+++ b/Source/cmCommonTargetGenerator.cxx
@@ -41,7 +41,7 @@ std::vector<std::string> const& cmCommonTargetGenerator::GetConfigNames() const
const char* cmCommonTargetGenerator::GetFeature(const std::string& feature,
const std::string& config)
{
- return this->GeneratorTarget->GetFeature(feature, config);
+ return this->GeneratorTarget->GetFeature(feature, config)->c_str();
}
void cmCommonTargetGenerator::AddModuleDefinitionFlag(