GH-1876 Fork and update quazip

* It is added as a new submodule: https://github.com/MultiMC/quazip/tree/multimc-1
* Its build system has been entirely replaced to remove the existing issues with it
* It now has working unit tests
* No more patches needed
* It has a static linking exception in its license now, but we use it shared anyway
This commit is contained in:
Petr Mrázek
2017-05-06 17:22:14 +02:00
parent 349381cb2b
commit 15c829fd3c
9 changed files with 12 additions and 563 deletions

View File

@ -26,7 +26,9 @@ set(PACK200_SRC
src/zip.h
)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if (Qt5_POSITION_INDEPENDENT_CODE)
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
add_library(MultiMC_unpack200 SHARED ${PACK200_SRC})
target_include_directories(MultiMC_unpack200 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_BINARY_DIR}" PRIVATE ${ZLIB_INCLUDE_DIRS} "${CMAKE_CURRENT_SOURCE_DIR}/src")

1
libraries/quazip Submodule

Submodule libraries/quazip added at 2c40fc85b4