mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 14:33:37 +00:00
build: prevent enabling both iggy and java GUIs at the same time
This commit is contained in:
parent
4c01f7b317
commit
2e1d4bbaca
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue