diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-23 17:02:43 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-23 17:02:43 -0800 |
| commit | 522b393901638c3abfc89ff63085ec64367c7671 (patch) | |
| tree | bcfe01ceb44b4bbb8b9758df08761386a1d39b9b /toolsrc/src/vcpkg_Environment.cpp | |
| parent | 5d603cbae259e492b8ff034a748573d3f680e7c7 (diff) | |
| download | vcpkg-522b393901638c3abfc89ff63085ec64367c7671.tar.gz vcpkg-522b393901638c3abfc89ff63085ec64367c7671.zip | |
Bump version of required CMake to 3.7.2
Diffstat (limited to 'toolsrc/src/vcpkg_Environment.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Environment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_Environment.cpp b/toolsrc/src/vcpkg_Environment.cpp index 709627878..e1eb22969 100644 --- a/toolsrc/src/vcpkg_Environment.cpp +++ b/toolsrc/src/vcpkg_Environment.cpp @@ -63,7 +63,7 @@ namespace vcpkg::Environment void ensure_cmake_on_path(const vcpkg_paths& paths) { - const fs::path downloaded_cmake = paths.downloads / "cmake-3.5.2-win32-x86" / "bin"; + const fs::path downloaded_cmake = paths.downloads / "cmake-3.7.2-win32-x86" / "bin"; const std::wstring path_buf = Strings::wformat(L"%s;%s;%s;%s", downloaded_cmake.native(), System::wdupenv_str(L"PATH"), @@ -71,7 +71,7 @@ namespace vcpkg::Environment default_cmake_installation_dir_x86.native()); _wputenv_s(L"PATH", path_buf.c_str()); - static constexpr std::array<int, 3> cmake_version = {3,5,0}; + static constexpr std::array<int, 3> cmake_version = {3,7,2}; // TODO: switch out ExecutionPolicy Bypass with "Remove Mark Of The Web" code and restore RemoteSigned ensure_on_path(cmake_version, L"cmake --version 2>&1", L"powershell -ExecutionPolicy Bypass scripts\\fetchDependency.ps1 -Dependency cmake"); } |
