mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 05:50:25 +08:00
7f2b751214
* [mailio] update to 0.23.0 * [mailio] update to 0.23.0 * [mailio] add post valid * fix lib type * fix version * remove boost-test deps * remove boost-test deps * fix portfile patch name
27 lines
844 B
CMake
27 lines
844 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO karastojko/mailio
|
|
REF "${VERSION}"
|
|
SHA512 e1eee9f5b80dab16017af475b8c13f8278fa3d73e1c446e507dc122cb3df5b984b41c04d753e36cf848dd15029524f95cf48e050cee265c8933b0be1ea500a5d
|
|
HEAD_REF master
|
|
PATCHES fix-library-type-and-remove-boost-test-deps.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DMAILIO_BUILD_DOCUMENTATION=OFF
|
|
-DMAILIO_BUILD_EXAMPLES=OFF
|
|
-DMAILIO_BUILD_TESTS=OFF
|
|
)
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(
|
|
CONFIG_PATH share/mailio/cmake
|
|
)
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|