2019-08-30 05:29:24 +08:00
|
|
|
vcpkg_from_github(
|
2018-07-12 17:33:58 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2019-08-30 05:29:24 +08:00
|
|
|
REPO stiffstream/restinio
|
2022-07-14 04:55:44 +08:00
|
|
|
REF 03e69fe720c91c65b8cfe93f463dc6063ab287bd # v.0.6.16
|
|
|
|
SHA512 fc333181b4d9c25d8b759663af2e8e805a2a9eb81c0808e950d949e67c15b268e3c2a230fb34ffd4e4c4571004e1aa2136749f7d5ce92c43288089b171637390
|
2018-05-03 13:29:46 +08:00
|
|
|
)
|
|
|
|
|
2021-11-23 07:38:47 +08:00
|
|
|
vcpkg_cmake_configure(
|
2022-05-18 02:15:06 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/vcpkg"
|
2018-05-03 13:29:46 +08:00
|
|
|
)
|
|
|
|
|
2021-11-23 07:38:47 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/restinio)
|
2018-05-03 13:29:46 +08:00
|
|
|
|
2022-05-18 02:15:06 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
|
2018-05-03 13:29:46 +08:00
|
|
|
# Handle copyright
|
2022-05-18 02:15:06 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|