From 3d89c301e37a6e3cc6ab540863e8af2dfb3000ca Mon Sep 17 00:00:00 2001 From: Mateusz Pietryga Date: Sun, 6 Aug 2023 11:54:15 +0200 Subject: [PATCH] Fix CMAKE_SYSTEM_NAME variable in windows-arm* toolchains to correctly indicate target platform Resolves #790 --- windows-arm64/Toolchain.cmake | 2 +- windows-armv7/Toolchain.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/windows-arm64/Toolchain.cmake b/windows-arm64/Toolchain.cmake index 7a3d9d5..7483a94 100644 --- a/windows-arm64/Toolchain.cmake +++ b/windows-arm64/Toolchain.cmake @@ -1,4 +1,4 @@ -set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_SYSTEM_NAME Windows) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR aarch64) diff --git a/windows-armv7/Toolchain.cmake b/windows-armv7/Toolchain.cmake index 977627f..8ea91be 100644 --- a/windows-armv7/Toolchain.cmake +++ b/windows-armv7/Toolchain.cmake @@ -1,4 +1,4 @@ -set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_SYSTEM_NAME Windows) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR arm)