summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-05-26 09:09:07 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-05-26 12:48:22 (GMT)
commitaa5fed5052f903614a06c55786a1f682fee787a5 (patch)
treeadcf76aa35a0f8aab8b0a15db3be43cfd773855c /Source/cmGlobalGenerator.cxx
parenta645a80040d35162ba34ddec39b1b90b2466b72f (diff)
downloadCMake-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.cxx2
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);
}
}
}