From b33be684d943e602fcee3744c48c200625663e2c Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Mon, 25 Oct 2021 14:14:58 +0200 Subject: Moved Vfs and Httpsys build options into a Windows-only block --- xmake.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'xmake.lua') diff --git a/xmake.lua b/xmake.lua index 783db439f..bca473e3d 100644 --- a/xmake.lua +++ b/xmake.lua @@ -60,19 +60,19 @@ end add_defines("USE_SENTRY=1") add_defines("ZEN_USE_MIMALLOC=1") -option("vfs") - set_showmenu(true) - set_description("Enable VFS functionality") - add_defines("ZEN_WITH_VFS") -option_end() - if is_os("windows") then - option("httpsys") - set_default(true) - set_showmenu(true) - set_description("Enable http.sys server") - add_defines("ZEN_WITH_HTTPSYS") - option_end() + option("vfs") + set_showmenu(true) + set_description("Enable VFS functionality") + add_defines("ZEN_WITH_VFS") + option_end() + + option("httpsys") + set_default(true) + set_showmenu(true) + set_description("Enable http.sys server") + add_defines("ZEN_WITH_HTTPSYS") + option_end() end set_warnings("allextra", "error") -- cgit v1.2.3