diff options
| author | Martin Ridgers <[email protected]> | 2021-10-25 10:10:36 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-25 10:10:36 +0200 |
| commit | 42ebb2af689c95cc1bcba66895aefb7be627b994 (patch) | |
| tree | 9e1dfee7302f3135898822d9cefbc1efe8848a32 /xmake.lua | |
| parent | Use StrCaseCompare() instead of Windows-only _stricmp() (diff) | |
| download | zen-42ebb2af689c95cc1bcba66895aefb7be627b994.tar.xz zen-42ebb2af689c95cc1bcba66895aefb7be627b994.zip | |
Made httpsys xmake option Windows only
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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") |