diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -16,7 +16,6 @@ add_requires( "vcpkg::mimalloc", "vcpkg::openssl", "vcpkg::robin-map", - "vcpkg::sentry-native", "vcpkg::sol2", "vcpkg::spdlog", "vcpkg::xxhash", @@ -24,6 +23,12 @@ add_requires( "vcpkg::zstd" ) +if not is_arch("arm64") then + add_requires( + "vcpkg::sentry-native" + ) +end + add_rules("mode.debug", "mode.release") if is_mode("release") then @@ -77,12 +82,14 @@ function add_define_by_config(define, config_name) add_defines(define.."="..value) end -option("zensentry") - set_default(true) - set_showmenu(true) - set_description("Enables Sentry support in Zen") -option_end() -add_define_by_config("ZEN_USE_SENTRY", "zensentry") +if not is_arch("arm64") then + option("zensentry") + set_default(true) + set_showmenu(true) + set_description("Enables Sentry support in Zen") + option_end() + add_define_by_config("ZEN_USE_SENTRY", "zensentry") +end option("zenmimalloc") set_default(true) |