aboutsummaryrefslogtreecommitdiff
path: root/launcher/CMakeLists.txt
diff options
context:
space:
mode:
authorflow <thiagodonato300@gmail.com>2022-03-07 16:46:08 -0300
committerflow <thiagodonato300@gmail.com>2022-03-07 17:45:28 -0300
commit16bfafa29e2cb54e1553c813cab0fff5203f8c60 (patch)
tree6ecb63a86a07b066f71fb0f4442555b4c29c528b /launcher/CMakeLists.txt
parentf714adf6d2cc94f20ba37f2776d0d61e22267f0e (diff)
downloadPrismLauncher-16bfafa29e2cb54e1553c813cab0fff5203f8c60.tar.gz
PrismLauncher-16bfafa29e2cb54e1553c813cab0fff5203f8c60.tar.bz2
PrismLauncher-16bfafa29e2cb54e1553c813cab0fff5203f8c60.zip
refactor: de-duplicate common code in network mod APIs
Diffstat (limited to 'launcher/CMakeLists.txt')
-rw-r--r--launcher/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt
index 0dcda925..48370c96 100644
--- a/launcher/CMakeLists.txt
+++ b/launcher/CMakeLists.txt
@@ -492,6 +492,16 @@ set(META_SOURCES
meta/Index.h
)
+set(API_SOURCES
+ modplatform/ModAPI.h
+
+ modplatform/flame/FlameAPI.h
+ modplatform/modrinth/ModrinthAPI.h
+
+ modplatform/helpers/NetworkModAPI.h
+ modplatform/helpers/NetworkModAPI.cpp
+)
+
set(FTB_SOURCES
modplatform/legacy_ftb/PackFetchTask.h
modplatform/legacy_ftb/PackFetchTask.cpp
@@ -572,6 +582,7 @@ set(LOGIC_SOURCES
${TOOLS_SOURCES}
${META_SOURCES}
${ICONS_SOURCES}
+ ${API_SOURCES}
${FTB_SOURCES}
${FLAME_SOURCES}
${MODRINTH_SOURCES}