Skip to content

Commit 02a517e

Browse files
committed
fix: make xmake rex options consistent
1 parent 30fe805 commit 02a517e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

xmake.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ add_rules("mode.debug", "mode.releasedbg")
1515
includes("xmake-rules.lua")
1616

1717
-- define options
18-
option("rex_ini")
18+
option("rex_ini", function()
1919
set_default(false)
2020
set_description("Enable ini config support for REX")
2121
add_defines("REX_OPTION_INI=1")
22-
option_end()
22+
end)
2323

24-
option("rex_json")
24+
option("rex_json", function()
2525
set_default(false)
2626
set_description("Enable json config support for REX")
2727
add_defines("REX_OPTION_JSON=1")
28-
option_end()
28+
end)
2929

30-
option("rex_toml")
30+
option("rex_toml", function()
3131
set_default(false)
3232
set_description("Enable toml config support for REX")
3333
add_defines("REX_OPTION_TOML=1")
34-
option_end()
34+
end)
3535

3636
option("skyrim_ae", function()
3737
set_default(false)

0 commit comments

Comments
 (0)