2021-04-13 01:55:46 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ybainier/Hypodermic
|
2024-08-23 17:15:40 +08:00
|
|
|
REF ba5516d4e78230c1187debb01ebdf01e5d11f62d # 2023-03-03
|
|
|
|
SHA512 40a119baafc23149117e286c38c00bdc0debda1cb6fefbecfdbc6e1a779789c6c884d1e7513aaf55060d550232c3dc8777ef0ebf0cd94e998ff2d5d6d375d2ff
|
2021-04-13 01:55:46 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
"disable_hypodermic_tests.patch"
|
|
|
|
)
|
|
|
|
|
2021-10-01 06:45:01 +08:00
|
|
|
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
|
2021-04-13 01:55:46 +08:00
|
|
|
|
2021-10-01 06:45:01 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-04-13 01:55:46 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE
|
2021-10-01 06:45:01 +08:00
|
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
2021-04-13 01:55:46 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# Put the license file where vcpkg expects it
|
2021-10-01 06:45:01 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|