diff options
| author | Martin Ridgers <[email protected]> | 2021-11-17 13:25:37 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-17 13:25:37 +0100 |
| commit | f2029f292341d91cc14f747befd19cf557d3c7bf (patch) | |
| tree | 7a6785b39ec60a2712ea335826978e14d1df14ff /xmake.lua | |
| parent | Turned USE_SENTRY and ZEN_MIMALLOC into xmake config options (diff) | |
| download | zen-f2029f292341d91cc14f747befd19cf557d3c7bf.tar.xz zen-f2029f292341d91cc14f747befd19cf557d3c7bf.zip | |
Moved compute xmake config option out of the is-windows block
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") |