aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-04 13:24:13 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-04 13:24:13 +0100
commitf1d3d4a3665606539de416fdc8f2b67425feeec6 (patch)
treeac2946989a1b8ca03f89ee3394a3edfea9f1a000
parent076efc4cb2586edbc11868bd93f48cfe03eb5a6d (diff)
downloadPrismLauncher-f1d3d4a3665606539de416fdc8f2b67425feeec6.tar.gz
PrismLauncher-f1d3d4a3665606539de416fdc8f2b67425feeec6.tar.bz2
PrismLauncher-f1d3d4a3665606539de416fdc8f2b67425feeec6.zip
fix: link QuaZip statically
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4e7046a..738a1a5a 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