aboutsummaryrefslogtreecommitdiff
path: root/launcher/MMCZip.h
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/MMCZip.h
parentefa414c442a77735a5f972b7103e8ce866a6bdd1 (diff)
downloadPrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.tar.gz
PrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.tar.bz2
PrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.zip
refactor: add in-tree QuaZip
Diffstat (limited to 'launcher/MMCZip.h')
-rw-r--r--launcher/MMCZip.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/launcher/MMCZip.h b/launcher/MMCZip.h
index 5260f856..5983aa37 100644
--- a/launcher/MMCZip.h
+++ b/launcher/MMCZip.h
@@ -19,13 +19,14 @@
#include <QFileInfo>
#include <QSet>
#include "minecraft/mod/Mod.h"
+#include "nonstd/optional"
#include <functional>
-//#include <QuaZip-Qt5-1.2/quazip/JlCompress.h>
-// TODO: Blocked by https://github.com/stachenov/quazip/pull/141
-// For now, checkout https://github.com/Scrumplex/quazip/tree/expose-jlcompress-fns at ../../quazip
-#include <../../quazip/quazip/JlCompress.h>
-#include <nonstd/optional>
+#ifdef QUAZIP_USE_SUBMODULE
+#include <quazip/JlCompress.h>
+#else
+#include <QuaZip-Qt5-1.2/quazip/JlCompress.h>
+#endif
namespace MMCZip
{