summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-30 17:19:22 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-31 14:27:54 (GMT)
commit0779bc9393efeaf1bb3bbf35619617d317d37308 (patch)
treea0b78a5475011b289a4048b20b5fe57be22e4e7f /Source/cmake.h
parent8ea30a44d38057fed134532f6d3b6e8626a1ccff (diff)
downloadCMake-0779bc9393efeaf1bb3bbf35619617d317d37308.zip
CMake-0779bc9393efeaf1bb3bbf35619617d317d37308.tar.gz
CMake-0779bc9393efeaf1bb3bbf35619617d317d37308.tar.bz2
ReadListFile: Accept std::string argument
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index af51616..53d44f1 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -463,7 +463,8 @@ protected:
std::string GeneratorToolset;
///! read in a cmake list file to initialize the cache
- void ReadListFile(const std::vector<std::string>& args, const char* path);
+ void ReadListFile(const std::vector<std::string>& args,
+ const std::string& path);
bool FindPackage(const std::vector<std::string>& args);
///! Check if CMAKE_CACHEFILE_DIR is set. If it is not, delete the log file.