2020-06-03 13:48:22 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO mapbox/protozero
|
2021-07-09 01:51:32 +08:00
|
|
|
SHA512 d09a34865c535264c52f9c605ccb6f453c357f5e3a7b0dc72b097de288eabc6985a5b81ddbe79c47d0af2d8f74e33bd380fefce47acb15d8d51d5c151d71786b
|
|
|
|
REF v1.7.0
|
2020-06-03 13:48:22 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2021-07-09 01:51:32 +08:00
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTING=OFF
|
2020-06-03 13:48:22 +08:00
|
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
2021-07-09 01:51:32 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
2020-06-03 13:48:22 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
|
2021-07-09 01:51:32 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|