diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-30 17:19:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-31 14:27:54 (GMT) |
commit | 0779bc9393efeaf1bb3bbf35619617d317d37308 (patch) | |
tree | a0b78a5475011b289a4048b20b5fe57be22e4e7f /Source/cmake.h | |
parent | 8ea30a44d38057fed134532f6d3b6e8626a1ccff (diff) | |
download | CMake-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.h | 3 |
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. |