From cadf4d05d464d66d5752000827e0cc9b276de684 Mon Sep 17 00:00:00 2001 From: OB0NE <144986313+OB0NE@users.noreply.github.com> Date: Mon, 9 Sep 2024 02:06:05 +0800 Subject: [PATCH] Update meson.build Detecting architecture. --- meson.build | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6d587268d9..ad05122703 100644 --- a/meson.build +++ b/meson.build @@ -22,7 +22,14 @@ profile = get_option('profile') build_ui = get_option('ui') build_cli = get_option('cli') ci = get_option('ci') -win_build_environment_path = get_option('win-build-environment-path') + +# Detecting architecture +if host_machine.cpu_family() == 'aarch64' + win_build_environment_path = get_option('win-arm64-build-environment-path') +else + win_build_environment_path = get_option('win-build-environment-path') +endif + win_installer_name = get_option('win-installer-name') app_name = 'rnote'