From 8de3f323dcf60790bf049284b9b7d7232a87984d Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 8 May 2020 12:41:44 -0700 Subject: [vcpkg] Resolve relative overlay ports to the current working directory. (#11233) Fixes #10771. --- toolsrc/include/vcpkg/vcpkgpaths.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toolsrc/include') diff --git a/toolsrc/include/vcpkg/vcpkgpaths.h b/toolsrc/include/vcpkg/vcpkgpaths.h index c95515aee..2588abf4d 100644 --- a/toolsrc/include/vcpkg/vcpkgpaths.h +++ b/toolsrc/include/vcpkg/vcpkgpaths.h @@ -61,7 +61,8 @@ namespace vcpkg const Optional& install_root_dir, const Optional& vcpkg_scripts_root_dir, const std::string& default_vs_path, - const std::vector* triplets_dirs); + const std::vector* triplets_dirs, + fs::path original_cwd); fs::path package_dir(const PackageSpec& spec) const; fs::path build_info_file_path(const PackageSpec& spec) const; @@ -72,6 +73,7 @@ namespace vcpkg const std::vector& get_available_triplets() const; const fs::path get_triplet_file_path(Triplet triplet) const; + fs::path original_cwd; fs::path root; fs::path packages; fs::path buildtrees; -- cgit v1.2.3