summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2021-06-08 15:02:13 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-14 22:59:22 +0200
commit712702757f105aa2390b00c8412950967aa1e881 (patch)
tree8cdd2ec78e43a73517138983d661b7c27fd8ed64 /src/core
parentf04bc6833c01efc0fb37d6f6c31c6fa427087664 (diff)
Enable native arm64 builds on macOS
Chromium builds on arm are still experimental, but we want to enable them in the CI in order to see when things break. Pick-to: 6.2 Change-Id: I9e37fd97eb5a3dc680dc16404c22b97f780b4b9f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 3f95156bd..b5c30d3b9 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -479,6 +479,12 @@ foreach(config ${configs})
use_external_popup_menu=false
angle_enable_vulkan=false
)
+ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64" OR CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
+ list(APPEND gnArgArg
+ target_cpu="arm64"
+ fatal_linker_warnings=false
+ )
+ endif()
endif()
if(WIN32)