Skip to content

Commit

Permalink
[msys] Improve vcpkg_acquire_msys (#12866)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoebeHui authored Aug 14, 2020
1 parent 04b0fe8 commit ae898b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/cmake/vcpkg_acquire_msys.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
## * [libvpx](https:/Microsoft/vcpkg/blob/master/ports/libvpx/portfile.cmake)

function(vcpkg_acquire_msys PATH_TO_ROOT_OUT)
set(TOOLPATH ${DOWNLOADS}/tools/msys2)
set(TIMESTAMP 20200812)
set(TOOLPATH ${DOWNLOADS}/tools/msys2-${TIMESTAMP})
cmake_parse_arguments(_am "" "" "PACKAGES" ${ARGN})

if(NOT CMAKE_HOST_WIN32)
Expand Down Expand Up @@ -145,7 +146,7 @@ function(vcpkg_acquire_msys PATH_TO_ROOT_OUT)
endif()

if(_am_PACKAGES)
message(STATUS "Acquiring MSYS Packages...")
message(STATUS "Acquiring MSYS Packages from ${TOOLPATH}...")
string(REPLACE ";" " " _am_PACKAGES "${_am_PACKAGES}")

set(_ENV_ORIGINAL $ENV{PATH})
Expand Down

0 comments on commit ae898b2

Please sign in to comment.