From ef7e1abfb1df7b150710f06fb3041daaff939da8 Mon Sep 17 00:00:00 2001 From: ras0219 <533828+ras0219@users.noreply.github.com> Date: Tue, 15 Dec 2020 10:27:32 -0800 Subject: [vcpkg] Fix CMAKE_CURRENT_LIST_DIR in load_dep_info_vars() (#15110) Co-authored-by: Robert Schumacher --- toolsrc/include/vcpkg/base/files.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolsrc/include') diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h index b05f79a05..a6cc06c19 100644 --- a/toolsrc/include/vcpkg/base/files.h +++ b/toolsrc/include/vcpkg/base/files.h @@ -184,6 +184,10 @@ namespace vcpkg::Files std::error_code& ec) = 0; void write_contents(const fs::path& path, const std::string& data, LineInfo linfo); virtual void write_contents(const fs::path& file_path, const std::string& data, std::error_code& ec) = 0; + void write_contents_and_dirs(const fs::path& path, const std::string& data, LineInfo linfo); + virtual void write_contents_and_dirs(const fs::path& file_path, + const std::string& data, + std::error_code& ec) = 0; void rename(const fs::path& oldpath, const fs::path& newpath, LineInfo linfo); virtual void rename(const fs::path& oldpath, const fs::path& newpath, std::error_code& ec) = 0; virtual void rename_or_copy(const fs::path& oldpath, -- cgit v1.2.3