aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-14 09:50:13 +0100
committerMartin Ridgers <[email protected]>2022-01-14 09:50:44 +0100
commit8c5e944a180549f54f5c42fed5d4dd91343bfbe1 (patch)
treec8898cdefe955c242124d7acb5226e26270618b3 /xmake.lua
parentFixed up compile errors if mimalloc use is disabled (diff)
downloadzen-8c5e944a180549f54f5c42fed5d4dd91343bfbe1.tar.xz
zen-8c5e944a180549f54f5c42fed5d4dd91343bfbe1.zip
Disabled mimalloc on Mac-Arm64 as vcpkg doesn't support it
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmake.lua b/xmake.lua
index cf868291a..62bd3983a 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -89,14 +89,14 @@ if not is_arch("arm64") then
set_description("Enables Sentry support in Zen")
option_end()
add_define_by_config("ZEN_USE_SENTRY", "zensentry")
-end
-option("zenmimalloc")
- set_default(true)
- set_showmenu(true)
- set_description("Use MiMalloc as Zen's allocator")
-option_end()
-add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc")
+ option("zenmimalloc")
+ set_default(true)
+ set_showmenu(true)
+ set_description("Use MiMalloc as Zen's allocator")
+ option_end()
+ add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc")
+end
if is_os("windows") then
option("vfs")