From 37b984f76e4488820161d06eeaf41f2ba185c7bc Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Fri, 14 Jan 2022 09:48:30 +0100 Subject: Disabled Sentry on Arm as vcpkg does not support it --- xmake.lua | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'xmake.lua') diff --git a/xmake.lua b/xmake.lua index b77c9fd83..6c5ee63b3 100644 --- a/xmake.lua +++ b/xmake.lua @@ -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) -- cgit v1.2.3