From 02a517e6eab53852b4031d5fe07d949d2dc4a747 Mon Sep 17 00:00:00 2001 From: shad0wshayd3 Date: Thu, 14 Nov 2024 13:56:45 -0700 Subject: [PATCH] fix: make xmake rex options consistent --- xmake.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xmake.lua b/xmake.lua index 981e3848a..b94d8cbb3 100644 --- a/xmake.lua +++ b/xmake.lua @@ -15,23 +15,23 @@ add_rules("mode.debug", "mode.releasedbg") includes("xmake-rules.lua") -- define options -option("rex_ini") +option("rex_ini", function() set_default(false) set_description("Enable ini config support for REX") add_defines("REX_OPTION_INI=1") -option_end() +end) -option("rex_json") +option("rex_json", function() set_default(false) set_description("Enable json config support for REX") add_defines("REX_OPTION_JSON=1") -option_end() +end) -option("rex_toml") +option("rex_toml", function() set_default(false) set_description("Enable toml config support for REX") add_defines("REX_OPTION_TOML=1") -option_end() +end) option("skyrim_ae", function() set_default(false)