diff options
| author | Martin Ridgers <[email protected]> | 2022-01-14 09:48:30 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-14 09:50:35 +0100 |
| commit | 37b984f76e4488820161d06eeaf41f2ba185c7bc (patch) | |
| tree | 444015423fef752a21a687405b4ad8ab670ec425 /xmake.lua | |
| parent | Blake3 for Mac Arm64 (diff) | |
| download | zen-37b984f76e4488820161d06eeaf41f2ba185c7bc.tar.xz zen-37b984f76e4488820161d06eeaf41f2ba185c7bc.zip | |
Disabled Sentry on Arm as vcpkg does not support it
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) |