Made java downloader as a build option

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-03-06 19:33:14 +02:00
parent 24fd07861b
commit 9120848278
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
7 changed files with 45 additions and 20 deletions

View file

@ -219,6 +219,9 @@ set(Launcher_SUBREDDIT_URL "https://prismlauncher.org/reddit" CACHE STRING "URL
set(Launcher_FORCE_BUNDLED_LIBS OFF CACHE BOOL "Prevent using system libraries, if they are available as submodules")
set(Launcher_QT_VERSION_MAJOR "6" CACHE STRING "Major Qt version to build against")
# Java downloader
option(ENABLE_JAVA_DOWNLOADER "Build the java downloader feature" ON)
# Native libraries
if(UNIX AND APPLE)
set(Launcher_GLFW_LIBRARY_NAME "libglfw.dylib" CACHE STRING "Name of native glfw library")