summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-11 23:11:59 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-11 23:11:59 (GMT)
commit080a79ca4a0448043e0713b9b580c5f84b7330b3 (patch)
tree26534caa5ee6e522456ccdebb8dc36744611e1f6 /Source/cmake.cxx
parent8a1d25afdf92cabab88598cc9b9e5a9fb2a9493b (diff)
downloadCMake-080a79ca4a0448043e0713b9b580c5f84b7330b3.zip
CMake-080a79ca4a0448043e0713b9b580c5f84b7330b3.tar.gz
CMake-080a79ca4a0448043e0713b9b580c5f84b7330b3.tar.bz2
cmSystemTools: More methods accept `std::string` params
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 8023298..614ee2e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1105,7 +1105,7 @@ std::string cmake::FindCacheFile(const std::string& binaryDir)
if (cmSystemTools::FileExists(cmakeFiles)) {
std::string cachePathFound =
cmSystemTools::FileExistsInParentDirectories("CMakeCache.txt",
- cachePath.c_str(), "/");
+ cachePath, "/");
if (!cachePathFound.empty()) {
cachePath = cmSystemTools::GetFilenamePath(cachePathFound);
}