2022-02-01 03:51:56 +08:00
|
|
|
vcpkg_from_gitlab(
|
|
|
|
GITLAB_URL https://gitlab.freedesktop.org/
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO slirp/libslirp
|
2024-05-25 05:40:59 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 eef9d77f1588c4e3dcf91cd53e54db235d624998fc64df75d389657411635f28bfcbe0c81cd3b0ede7792eea1eb7ef716b8a87a199a6be1e9a29da27ca4a1df4
|
2022-02-01 03:51:56 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-04-09 06:34:42 +08:00
|
|
|
if(VCPKG_HOST_IS_WINDOWS)
|
|
|
|
vcpkg_acquire_msys(MSYS_ROOT)
|
|
|
|
vcpkg_add_to_path("${MSYS_ROOT}/usr/bin")
|
|
|
|
endif()
|
2022-02-01 03:51:56 +08:00
|
|
|
|
|
|
|
vcpkg_configure_meson(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
${OPTIONS}
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_meson(ADD_BIN_TO_PATH)
|
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2024-05-25 05:40:59 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYRIGHT")
|