mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 03:30:38 +08:00
477ff8bc7c
* RESTinio updated to 0.6.14. * Fix for RESTinio's vcpkg.json. * x-add-version for RESTinio. * Fixes for RESTinio vcpkg.json and portfile.cmake files. * x-add-version for RESTinio.
19 lines
664 B
CMake
19 lines
664 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO stiffstream/restinio
|
|
REF 20140bcecaec6f44ad5a8f68efcd8b44e1375604 # v.0.6.14
|
|
SHA512 e4654342831cb5c9086b60b22a7a15dd68a6769e28936576a1ff61352ea204f8e171bd446d002cefb514fd0cc4842878f23d5d51bc0da48c6224b96e4a0f3b14
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/vcpkg
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/restinio)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|