2020-09-10 11:40:15 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO kuba--/zip
|
2023-11-16 07:49:32 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 959805452f566b24ee78bc56794403733d19e86885a7f94581fca4218817a65ea4ea8b79457a452e0cc06992dc2165b3ff90360cec5f43cd8c0f934027ee9fd5
|
2020-09-10 11:40:15 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
fix_targets.patch
|
|
|
|
)
|
|
|
|
|
2022-08-18 00:35:26 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-09-10 11:40:15 +08:00
|
|
|
)
|
|
|
|
|
2022-08-18 00:35:26 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/kubazip)
|
2020-09-10 11:40:15 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
2023-11-16 07:49:32 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/UNLICENSE")
|