aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua14
1 files changed, 8 insertions, 6 deletions
diff --git a/xmake.lua b/xmake.lua
index 4049a7d7c..783db439f 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -66,12 +66,14 @@ option("vfs")
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()
+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()
+end
set_warnings("allextra", "error")
set_languages("cxx20")