2018-10-12 15:45:31 +03:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Amanieu/asyncplusplus
|
2024-10-22 07:21:43 +02:00
|
|
|
REF v1.2
|
|
|
|
SHA512 4b59ef805d4683631ef2ba51039deb210d9ba28b35021489560b0f2da6f75a68da8cb676807f9831047c997673556f69fdca0ae2081996274015e708fd6ff55e
|
2018-10-12 15:45:31 +03:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-12-02 18:06:16 +01:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-10-12 15:45:31 +03:00
|
|
|
)
|
|
|
|
|
2022-12-02 18:06:16 +01:00
|
|
|
vcpkg_cmake_install()
|
2018-10-12 15:45:31 +03:00
|
|
|
|
2022-12-02 18:06:16 +01:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH cmake PACKAGE_NAME async++)
|
2018-10-12 15:45:31 +03:00
|
|
|
|
2022-12-02 18:06:16 +01:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
2018-10-12 15:45:31 +03:00
|
|
|
|
2022-12-02 18:06:16 +01:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|