Skip to content

Commit

Permalink
[vcpkg] fix missing " around path include (microsoft#9912)
Browse files Browse the repository at this point in the history
* fix missing " around path

* Update VERSION.txt

* [vcpkg] Add quotes to include() in generated dep info file

Co-authored-by: Robert Schumacher <[email protected]>
  • Loading branch information
Neumann-A and ras0219-msft authored Feb 5, 2020
1 parent 1fd6cc9 commit d12f839
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion toolsrc/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2020.01.18"
"2020.02.04"
4 changes: 2 additions & 2 deletions toolsrc/src/vcpkg/cmakevars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Triplet, int> emitted_triplets;
int emitted_triplet_id = 0;
Expand Down Expand Up @@ -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<Triplet, int> emitted_triplets;
int emitted_triplet_id = 0;
Expand Down

0 comments on commit d12f839

Please sign in to comment.