diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2019-09-17 18:55:47 +0200 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-17 09:55:47 -0700 |
| commit | 54173e7fe250fc75604569708109bd6398b87694 (patch) | |
| tree | d1c8aaaa97a1bbceae3f2097e72a2d5089dba5d7 | |
| parent | 1e76e4fc4beecfa217d4af83cd91519b0de2220f (diff) | |
| download | vcpkg-54173e7fe250fc75604569708109bd6398b87694.tar.gz vcpkg-54173e7fe250fc75604569708109bd6398b87694.zip | |
Fix #8193 (#8200)
| -rw-r--r-- | toolsrc/src/vcpkg/commands.create.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/commands.create.cpp b/toolsrc/src/vcpkg/commands.create.cpp index 31bf97f30..e04599dfe 100644 --- a/toolsrc/src/vcpkg/commands.create.cpp +++ b/toolsrc/src/vcpkg/commands.create.cpp @@ -24,7 +24,7 @@ namespace vcpkg::Commands::Create const fs::path& cmake_exe = paths.get_tool_exe(Tools::CMAKE); - std::vector<System::CMakeVariable> cmake_args{{"CMD", "CREATE"}, {"PORT", port_name}, {"URL", url}}; + std::vector<System::CMakeVariable> cmake_args{{"CMD", "CREATE"}, {"PORT", port_name}, {"URL", url}, {"VCPKG_ROOT_PATH", paths.root}}; if (args.command_arguments.size() >= 3) { |
