diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-11 23:11:59 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-11 23:11:59 (GMT) |
commit | 080a79ca4a0448043e0713b9b580c5f84b7330b3 (patch) | |
tree | 26534caa5ee6e522456ccdebb8dc36744611e1f6 /Source/cmake.cxx | |
parent | 8a1d25afdf92cabab88598cc9b9e5a9fb2a9493b (diff) | |
download | CMake-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.cxx | 2 |
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); } |