fix: link QuaZip statically

This commit is contained in:
Sefa Eyeoglu 2022-02-04 13:24:13 +01:00
parent 076efc4cb2
commit f1d3d4a366
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -265,6 +265,8 @@ add_subdirectory(libraries/javacheck) # java compatibility checker
add_subdirectory(libraries/xz-embedded) # xz compression
if (FORCE_BUNDLED_QUAZIP)
message(STATUS "Using bundled QuaZip")
set(BUILD_SHARED_LIBS 0) # link statically to avoid conflicts.
set(QUAZIP_INSTALL 0)
add_subdirectory(libraries/quazip) # zip manipulation library
endif()
add_subdirectory(libraries/rainbow) # Qt extension for colors