Skip to content

Commit

Permalink
msys pkgconf traverse_id
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Jan 31, 2024
1 parent bfac538 commit 65fdc55
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 @@ -63,9 +63,10 @@ function(z_vcpkg_acquire_msys_declare_package)
if(NOT arg_URL MATCHES [[^https://mirror\.msys2\.org/.*/(([^/]*)-[^-/]+-[^-/]+-[^-/]+\.pkg\.tar\.(xz|zst))$]])
# message(FATAL_ERROR "internal error: regex does not match supplied URL to vcpkg_acquire_msys: ${arg_URL}")
set(CMAKE_MATCH_1 "pkgconf-478199b425b46e9dae36bb174f1bd08bf3ffb0f1-1-x86_64.pkg.tar.zst")
set(CMAKE_MATCH_2 "pkgconf")
endif()
message(STATUS "Debug CMAKE_MATCH_1" ${CMAKE_MATCH_1})
message(STATUS "Debug CMAKE_MATCH_2" ${CMAKE_MATCH_2})
message(STATUS "Debug CMAKE_MATCH_1 ${CMAKE_MATCH_1}")
message(STATUS "Debug CMAKE_MATCH_2 ${CMAKE_MATCH_2}")
set(filename "msys2-${CMAKE_MATCH_1}")
if(NOT DEFINED arg_NAME)
set(arg_NAME "${CMAKE_MATCH_2}")
Expand Down

0 comments on commit 65fdc55

Please sign in to comment.