mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 21:27:55 +08:00
042f96413f
* [libzippp] New port: C++ wrapper for libzip Closes #6600 * [libzippp] Fixed lookup of included libraries * [libzippp] Build system replacement * [libzippp] Add find_dependency(LIBZIP) to config file * [libzippp] Use upstream CMake
28 lines
770 B
CMake
28 lines
770 B
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ctabin/libzippp
|
|
REF be75a3413b648a3264e94a2c1921c83081dec1e0
|
|
SHA512 86c6040bbaea0817486218e96c4d230a328e3560ada41861fbd18d78faa085b158199318d633085e616509084082bf29d6f97afdd2d2dfbc6b843dfbf6a20c85
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DBUILD_TESTS=OFF
|
|
OPTIONS_DEBUG
|
|
-DINSTALL_HEADERS=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENCE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libzippp RENAME copyright)
|