From 2e1d4bbaca40f450524745caaacdb6151d677659 Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Mon, 16 Mar 2026 17:46:30 +0300 Subject: [PATCH] build: prevent enabling both iggy and java GUIs at the same time --- Minecraft.Client/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Minecraft.Client/meson.build b/Minecraft.Client/meson.build index c36051886..bcf1de0b0 100644 --- a/Minecraft.Client/meson.build +++ b/Minecraft.Client/meson.build @@ -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'),