mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-10 22:09:27 +08:00
690c54515f
* update version * update version
28 lines
806 B
CMake
28 lines
806 B
CMake
set(ZLIB_FULL_VERSION 2.0.7)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO zlib-ng/zlib-ng
|
|
REF "${ZLIB_FULL_VERSION}"
|
|
SHA512 1c19a62bb00727ac49049c299fb70060da95b5fafa448144ae4133372ec8c3da15cef6c1303485290f269b23c580696554ca0383dba3e1f9609f65c332981988
|
|
HEAD_REF develop
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
"-DZLIB_FULL_VERSION=${ZLIB_FULL_VERSION}"
|
|
-DZLIB_ENABLE_TESTS=OFF
|
|
-DWITH_NEW_STRATEGIES=ON
|
|
OPTIONS_RELEASE
|
|
-DWITH_OPTIM=ON
|
|
)
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share"
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
)
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|