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
|
2022-09-08 03:16:07 +08:00
|
|
|
REF edf12f699ec3bf6f751cf73cb97f32919e48ca6e # v1.0+5
|
|
|
|
SHA512 615a12d39198f2b3e48d795a65590050e8416a0c36b8b54fadea57e447393c4328f3c3ae04f9a7ce5a769efcf000ab2aa5057d6431569a6ec2ffa5f19055d743
|
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)
|