diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-02 16:42:21 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-10 13:46:21 (GMT) |
commit | f84193292cb36e26d13a3f1f56a1539f088e8827 (patch) | |
tree | 797f2c1cb1014e03fa9b2f8e5bfa7d7966eb3eb8 /Source/cmGlobalCommonGenerator.cxx | |
parent | 3c2e58eeb884adea8ee12462f7d471ab518a673f (diff) | |
download | CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.zip CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.gz CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.bz2 |
Use new AddCacheEntry signatures
Diffstat (limited to 'Source/cmGlobalCommonGenerator.cxx')
-rw-r--r-- | Source/cmGlobalCommonGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalCommonGenerator.cxx b/Source/cmGlobalCommonGenerator.cxx index a8e0f23..24c8944 100644 --- a/Source/cmGlobalCommonGenerator.cxx +++ b/Source/cmGlobalCommonGenerator.cxx @@ -117,7 +117,7 @@ std::string cmGlobalCommonGenerator::GetEditCacheCommand() const editCacheCommand = cmSystemTools::GetCMakeGUICommand(); } if (!editCacheCommand.empty()) { - cm->AddCacheEntry("CMAKE_EDIT_COMMAND", editCacheCommand.c_str(), + cm->AddCacheEntry("CMAKE_EDIT_COMMAND", editCacheCommand, "Path to cache edit program executable.", cmStateEnums::INTERNAL); } |