aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/legacy_ftb/PackInstallTask.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/modplatform/legacy_ftb/PackInstallTask.h
parentefa414c442a77735a5f972b7103e8ce866a6bdd1 (diff)
downloadPrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.tar.gz
PrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.tar.bz2
PrismLauncher-3aa809b8c0de48ca241ec567acda31ed1a728540.zip
refactor: add in-tree QuaZip
Diffstat (limited to 'launcher/modplatform/legacy_ftb/PackInstallTask.h')
-rw-r--r--launcher/modplatform/legacy_ftb/PackInstallTask.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/launcher/modplatform/legacy_ftb/PackInstallTask.h b/launcher/modplatform/legacy_ftb/PackInstallTask.h
index 6797971c..2cdfee7a 100644
--- a/launcher/modplatform/legacy_ftb/PackInstallTask.h
+++ b/launcher/modplatform/legacy_ftb/PackInstallTask.h
@@ -1,8 +1,15 @@
#pragma once
#include "InstanceTask.h"
#include "net/NetJob.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 "meta/Index.h"
#include "meta/Version.h"
#include "meta/VersionList.h"