2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2021-03-11 03:45:08 +08:00
|
|
|
REPO CrowCpp/crow
|
2024-03-30 08:25:28 +08:00
|
|
|
REF "v${VERSION}"
|
2024-06-06 16:28:01 +08:00
|
|
|
SHA512 0fdba3c3697f53ff231cc1637b613f382b5c0230b700745548c1a0ef03c3b25f92ec15f8d1f9bca1a74cffe07053d7a829732475a8a392ee8c682ccfba91539e
|
2019-05-03 13:57:43 +08:00
|
|
|
HEAD_REF master
|
2017-12-05 22:09:14 +08:00
|
|
|
)
|
|
|
|
|
2022-04-07 06:01:51 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DCROW_BUILD_EXAMPLES=OFF
|
|
|
|
-DCROW_BUILD_TESTS=OFF
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Crow)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
|
2021-08-28 07:55:40 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|