mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-27 06:45:48 +00:00
build: prevent enabling both iggy and java GUIs at the same time
This commit is contained in:
@@ -77,6 +77,10 @@ if get_option('enable_java_guis')
|
||||
global_cpp_defs += '-DENABLE_JAVA_GUIS'
|
||||
endif
|
||||
|
||||
if get_option('enable_shiggy') and get_option('enable_java_guis')
|
||||
error('You cannot use the Iggy and Java UI at the same time, please choose one.')
|
||||
endif
|
||||
|
||||
client = executable('Minecraft.Client',
|
||||
client_sources + platform_sources + localisation[1],
|
||||
include_directories : include_directories('Platform', 'Platform/Linux/Iggy/include'),
|
||||
|
||||
Reference in New Issue
Block a user