mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-20 02:33:02 +08:00
19 lines
666 B
CMake
19 lines
666 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO stiffstream/restinio
|
|
REF 60ea820fa9cb8431b17d62a9a828dc5f78236fa8 # v.0.6.3.1
|
|
SHA512 98113da903214e582551347a73591d4f4cf2e01f0156acea86d2cc8e626500a65aedf78c34d3c6cedea326c025b4c8153a67d46e1dfc4e3660528b963eacaa55
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}/vcpkg
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_fixup_cmake_targets(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)
|