diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -94,15 +94,15 @@ if is_os("windows") then set_description("Enable http.sys server") add_defines("ZEN_WITH_HTTPSYS") option_end() - - option("compute") - set_default(true) - set_showmenu(true) - set_description("Enable compute services endpoint") - add_defines("ZEN_WITH_COMPUTE_SERVICES") - option_end() end +option("compute") + set_default(is_os("windows")) + set_showmenu(true) + set_description("Enable compute services endpoint") + add_defines("ZEN_WITH_COMPUTE_SERVICES") +option_end() + set_warnings("allextra", "error") set_languages("cxx20") |