aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswirl <swurl@swurl.xyz>2022-02-04 07:40:09 -0500
committerGitHub <noreply@github.com>2022-02-04 07:40:09 -0500
commit00e12b776bbdc3db5bc8456b046117218ad12b83 (patch)
tree2ec510642db9c0d47e4452bcb146c61a433ba572
parent3b96a9a8fa1866100c5c7415fe2216d5ab4a158b (diff)
parentf1d3d4a3665606539de416fdc8f2b67425feeec6 (diff)
downloadPrismLauncher-00e12b776bbdc3db5bc8456b046117218ad12b83.tar.gz
PrismLauncher-00e12b776bbdc3db5bc8456b046117218ad12b83.tar.bz2
PrismLauncher-00e12b776bbdc3db5bc8456b046117218ad12b83.zip
Merge pull request #126 from Scrumplex/fix-quazip-build
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