From d12f839d2e2635516ef11a3ef03baf24f0ff4a74 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Wed, 5 Feb 2020 20:23:36 +0100 Subject: [PATCH] [vcpkg] fix missing " around path include (#9912) * fix missing " around path * Update VERSION.txt * [vcpkg] Add quotes to include() in generated dep info file Co-authored-by: Robert Schumacher --- toolsrc/VERSION.txt | 2 +- toolsrc/src/vcpkg/cmakevars.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toolsrc/VERSION.txt b/toolsrc/VERSION.txt index f9cb2e7e9e..966303f8ac 100644 --- a/toolsrc/VERSION.txt +++ b/toolsrc/VERSION.txt @@ -1 +1 @@ -"2020.01.18" +"2020.02.04" diff --git a/toolsrc/src/vcpkg/cmakevars.cpp b/toolsrc/src/vcpkg/cmakevars.cpp index 6a9d26ec8a..6059833e77 100644 --- a/toolsrc/src/vcpkg/cmakevars.cpp +++ b/toolsrc/src/vcpkg/cmakevars.cpp @@ -18,7 +18,7 @@ namespace vcpkg::CMakeVars Files::Filesystem& fs = paths.get_filesystem(); static int tag_extract_id = 0; - std::string extraction_file("include(" + get_tags_path.generic_u8string() + ")\n\n"); + std::string extraction_file("include(\"" + get_tags_path.generic_u8string() + "\")\n\n"); std::map emitted_triplets; int emitted_triplet_id = 0; @@ -67,7 +67,7 @@ namespace vcpkg::CMakeVars static int dep_info_id = 0; Files::Filesystem& fs = paths.get_filesystem(); - std::string extraction_file("include(" + get_dep_info_path.generic_u8string() + ")\n\n"); + std::string extraction_file("include(\"" + get_dep_info_path.generic_u8string() + "\")\n\n"); std::map emitted_triplets; int emitted_triplet_id = 0;