diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-05-26 09:09:07 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-05-26 12:48:22 (GMT) |
commit | aa5fed5052f903614a06c55786a1f682fee787a5 (patch) | |
tree | adcf76aa35a0f8aab8b0a15db3be43cfd773855c /Source/cmGlobalGenerator.cxx | |
parent | a645a80040d35162ba34ddec39b1b90b2466b72f (diff) | |
download | CMake-aa5fed5052f903614a06c55786a1f682fee787a5.zip CMake-aa5fed5052f903614a06c55786a1f682fee787a5.tar.gz CMake-aa5fed5052f903614a06c55786a1f682fee787a5.tar.bz2 |
SetProperty: suppress raw pointer usage
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 5d0f8b2..22d5aeb 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -268,7 +268,7 @@ void cmGlobalGenerator::ResolveLanguageCompiler(const std::string& lang, changeVars += ";"; changeVars += *cname; this->GetCMakeInstance()->GetState()->SetGlobalProperty( - "__CMAKE_DELETE_CACHE_CHANGE_VARS_", changeVars.c_str()); + "__CMAKE_DELETE_CACHE_CHANGE_VARS_", changeVars); } } } |