cmLocalGenerator: Use a std::string instead of char*

1 job for extract-cmLinkLineComputer
Status Name Job ID Coverage
  External
passed kwrobot-commit-check