Skip to content

Commit 8d0f237

Browse files
committed
Set CMAKE_CROSSCOMPILING_EMULATOR
1 parent 357fe76 commit 8d0f237

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.ci/qt6-toolchain.cmake‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ include_guard(GLOBAL)
33

44
set(CMAKE_SYSTEM_NAME Linux)
55
set(CMAKE_SYSTEM_PROCESSOR aarch64) # We don't support 32-bit anymore, so we don't need to read this from a variable
6+
set(CMAKE_CROSSCOMPILING_EMULATOR
7+
/usr/bin/qemu-aarch64-static
8+
-L
9+
"${CMAKE_SYSROOT}"
10+
)
611

712
set(TARGET_SYSROOT $ENV{BUILD_SYSROOT_PATH})
813
set(CMAKE_SYSROOT ${TARGET_SYSROOT})

0 commit comments

Comments
 (0)