summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-18 09:07:48 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-19 17:11:07 (GMT)
commit3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02 (patch)
treec98b106bec9f45b5e9f71201a89968c0cf164f3a /Source/cmGeneratorTarget.cxx
parentdffa3f485ce5a2336a7fd06c94522e53b0cab37e (diff)
downloadCMake-3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02.zip
CMake-3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02.tar.gz
CMake-3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02.tar.bz2
remove cmToCStr function
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 4bad7ab..d52dfaf 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -5727,7 +5727,7 @@ const char* getTypedProperty<const char*>(
cmProp value = tgt->GetProperty(prop);
if (genexInterpreter == nullptr) {
- return cmToCStr(value);
+ return value.GetCStr();
}
return genexInterpreter->Evaluate(value ? *value : "", prop).c_str();