summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-02 16:42:21 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-10 13:46:21 (GMT)
commitf84193292cb36e26d13a3f1f56a1539f088e8827 (patch)
tree797f2c1cb1014e03fa9b2f8e5bfa7d7966eb3eb8 /Source/cmGlobalGenerator.cxx
parent3c2e58eeb884adea8ee12462f7d471ab518a673f (diff)
downloadCMake-f84193292cb36e26d13a3f1f56a1539f088e8827.zip
CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.gz
CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.bz2
Use new AddCacheEntry signatures
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 3561deb..6b37b4b 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2191,9 +2191,8 @@ void cmGlobalGenerator::EnableLanguagesFromGenerator(cmGlobalGenerator* gen,
this->TryCompileOuterMakefile = mf;
cmProp make =
gen->GetCMakeInstance()->GetCacheDefinition("CMAKE_MAKE_PROGRAM");
- this->GetCMakeInstance()->AddCacheEntry("CMAKE_MAKE_PROGRAM", cmToCStr(make),
- "make program",
- cmStateEnums::FILEPATH);
+ this->GetCMakeInstance()->AddCacheEntry(
+ "CMAKE_MAKE_PROGRAM", make, "make program", cmStateEnums::FILEPATH);
// copy the enabled languages
this->GetCMakeInstance()->GetState()->SetEnabledLanguages(
gen->GetCMakeInstance()->GetState()->GetEnabledLanguages());