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-09-08 03:16:23 +08:00
|
|
|
REF a5b668560138da42158511880470b19988566568 # v.0.6.17
|
|
|
|
SHA512 fc3cdab9c240ba30b5f4b800ec452442a38db93936d3f7557255e6e7e3176217413fa421afec8b155cfb498df5ca9fc48a74a8e9bf1903aa31c9824d26d9618c
|
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)
|