aboutsummaryrefslogtreecommitdiff
path: root/api/logic/CMakeLists.txt
diff options
context:
space:
mode:
authorJamie Mansfield <jmansfield@cadixdev.org>2021-06-23 21:24:25 +0100
committerJamie Mansfield <jmansfield@cadixdev.org>2021-06-23 21:24:25 +0100
commita20a7e987fcc6e2d43a1686a175447495245615c (patch)
tree670eed6bc00107519f73d1ad7b95f46e4d38f6fe /api/logic/CMakeLists.txt
parent7c0fdaa7303125b26d0a6882d4616016c3923bca (diff)
downloadPrismLauncher-a20a7e987fcc6e2d43a1686a175447495245615c.tar.gz
PrismLauncher-a20a7e987fcc6e2d43a1686a175447495245615c.tar.bz2
PrismLauncher-a20a7e987fcc6e2d43a1686a175447495245615c.zip
NOISSUE Fail launch if minimum Java requirement is not met
This will fail launch in the following conditions: 1. A version greater than or equal to Minecraft 17w13a, and less than 21w19a - and the Java version is less than 8. 2. A version greater than or equal to Minecraft 21w19a - and the Java version is less than 16.
Diffstat (limited to 'api/logic/CMakeLists.txt')
-rw-r--r--api/logic/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/logic/CMakeLists.txt b/api/logic/CMakeLists.txt
index 17e22458..6d269714 100644
--- a/api/logic/CMakeLists.txt
+++ b/api/logic/CMakeLists.txt
@@ -246,6 +246,8 @@ set(MINECRAFT_SOURCES
minecraft/launch/ReconstructAssets.h
minecraft/launch/ScanModFolders.cpp
minecraft/launch/ScanModFolders.h
+ minecraft/launch/VerifyJavaInstall.cpp
+ minecraft/launch/VerifyJavaInstall.h
minecraft/legacy/LegacyModList.h
minecraft/legacy/LegacyModList.cpp