aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/launch
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-01-24 22:55:57 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-01-31 21:40:59 +0100
commit3aa809b8c0de48ca241ec567acda31ed1a728540 (patch)
treea5adefed46bd2ea7fda742d0b5be160f3e1c0f02 /launcher/minecraft/launch
parentefa414c442a77735a5f972b7103e8ce866a6bdd1 (diff)
downloadPrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.tar.gz
PrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.tar.bz2
PrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.zip
refactor: add in-tree QuaZip
Diffstat (limited to 'launcher/minecraft/launch')
-rw-r--r--launcher/minecraft/launch/ExtractNatives.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/minecraft/launch/ExtractNatives.cpp b/launcher/minecraft/launch/ExtractNatives.cpp
index 744e7ac6..5f13f730 100644
--- a/launcher/minecraft/launch/ExtractNatives.cpp
+++ b/launcher/minecraft/launch/ExtractNatives.cpp
@@ -17,8 +17,14 @@
#include <minecraft/MinecraftInstance.h>
#include <launch/LaunchTask.h>
+#ifdef QUAZIP_USE_SUBMODULE
+#include <quazip/quazip.h>
+#include <quazip/quazipdir.h>
+#else
#include <QuaZip-Qt5-1.2/quazip/quazip.h>
#include <QuaZip-Qt5-1.2/quazip/quazipdir.h>
+#endif
+
#include "MMCZip.h"
#include "FileSystem.h"
#include <QDir>