2021-03-20 00:55:04 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO karastojko/mailio
|
2022-03-22 10:42:02 +08:00
|
|
|
REF cc887a7808d9c55e07c8a7503c7ae2e2d7485120 # version_0-21-0
|
|
|
|
SHA512 7125bfe4274e1e126e335b2e4b5743ef54d5dc0b6fd83f0c10e7578b57924d3e398af6b3865fdee3de587e2e2d7c33d95dbe017b1966649e68cf52f2dd268ee5
|
2021-03-20 00:55:04 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
2022-03-29 03:57:11 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-03-20 00:55:04 +08:00
|
|
|
OPTIONS
|
|
|
|
-DMAILIO_BUILD_DOCUMENTATION=OFF
|
|
|
|
-DMAILIO_BUILD_EXAMPLES=OFF
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
2022-04-06 02:17:23 +08:00
|
|
|
vcpkg_cmake_config_fixup(
|
|
|
|
CONFIG_PATH share/mailio/cmake
|
|
|
|
)
|
2021-03-20 00:55:04 +08:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|