diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-18 09:07:48 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-19 17:11:07 (GMT) |
commit | 3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02 (patch) | |
tree | c98b106bec9f45b5e9f71201a89968c0cf164f3a /Source/cmGeneratorTarget.cxx | |
parent | dffa3f485ce5a2336a7fd06c94522e53b0cab37e (diff) | |
download | CMake-3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02.zip CMake-3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02.tar.gz CMake-3a1e6f5f59a38ecbaf8f1dcc8872324a73687f02.tar.bz2 |
remove cmToCStr function
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 2 |
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(); |