mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:33:01 +08:00
[minizip] Bump version to include minizip/crypt.h
This commit is contained in:
parent
2d75e5a673
commit
7b33a26c89
@ -1,4 +1,4 @@
|
||||
Source: minizip
|
||||
Version: 1.2.11
|
||||
Version: 1.2.11-1
|
||||
Description:
|
||||
Build-Depends: bzip2, zlib
|
||||
|
@ -24,5 +24,11 @@ vcpkg_install_cmake()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/minizip)
|
||||
file(GLOB HEADERS "${CURRENT_PACKAGES_DIR}/include/minizip/*.h")
|
||||
foreach(HEADER ${HEADERS})
|
||||
file(READ "${HEADER}" _contents)
|
||||
string(REPLACE "#ifdef HAVE_BZIP2" "#if 1" _contents "${_contents}")
|
||||
file(WRITE "${HEADER}" "${_contents}")
|
||||
endforeach()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/contrib/minizip/MiniZip64_info.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/minizip RENAME copyright)
|
||||
|
Loading…
Reference in New Issue
Block a user