2020-08-01 07:49:53 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO marzer/tomlplusplus
|
2023-09-26 15:31:49 +08:00
|
|
|
REF "v${VERSION}"
|
2023-11-06 01:41:32 +08:00
|
|
|
SHA512 c227fc8147c9459b29ad24002aaf6ab2c42fac22ea04c1c52b283a0172581ccd4527b33c1931e0ef0d1db6b6a53f9e9882c6d4231c7f3494cf070d0220741aa5
|
2020-08-01 07:49:53 +08:00
|
|
|
HEAD_REF master
|
2023-09-26 15:31:49 +08:00
|
|
|
PATCHES
|
|
|
|
fix-android-fileapi.patch
|
2020-08-01 07:49:53 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_meson(
|
2021-11-30 09:18:21 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-09-16 08:49:49 +08:00
|
|
|
OPTIONS
|
2023-09-26 15:31:49 +08:00
|
|
|
-Dgenerate_cmake_config=false
|
2020-10-13 06:25:08 +08:00
|
|
|
-Dbuild_tests=false
|
|
|
|
-Dbuild_examples=false
|
2020-08-01 07:49:53 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_meson()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
2023-09-26 15:31:49 +08:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|