mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 01:19:06 +08:00
4a582b4d1d
* [miniz] Add new port * [miniz] Fix Windows Build Conflict * [miniz] Miniz cannot be built as a shared library * [miniz] Force miniz to be static library * [miniz] Fix CRT deprecation error on uwp * [miniz] Fix CRT deprecation error within tests * [miniz] Disable tests entirely
26 lines
700 B
CMake
26 lines
700 B
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO richgel999/miniz
|
|
REF 2.0.8
|
|
SHA512 84b480df8bff63422d8c36cef3741f9b9f3dce13babf4de6cb4d575209978ad849357cc72bcf31ee8b6c5da6853ed2e5eddbbe16fecd689afd7028e834abf7e9
|
|
HEAD_REF master
|
|
PATCHES
|
|
CMakeLists-targets.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/miniz RENAME copyright)
|
|
|
|
vcpkg_test_cmake(PACKAGE_NAME miniz)
|