From f1d3d4a3665606539de416fdc8f2b67425feeec6 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 4 Feb 2022 13:24:13 +0100 Subject: [PATCH] fix: link QuaZip statically --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4e7046aa..738a1a5a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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