From 1443481177ed9e9708ce50e48888b9d55922cc54 Mon Sep 17 00:00:00 2001 From: Lev Stipakov Date: Wed, 25 May 2022 14:06:48 +0300 Subject: [PATCH] CMakePresets.json: use MSVC generator for ARM64 builds Sadly, CMake/Ninja combo doesn't work well for ARM64 (similar to https://stackoverflow.com/questions/47581784/building-a-x86-application-with-cmake-ninja-and-clang-on-x64-windows) - it silently produces x64 binaries instead of arm64. Switch to slower MSVC generator. Signed-off-by: Lev Stipakov --- CMakePresets.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 73f3a94..f48ccbf 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -38,11 +38,10 @@ }, { "name": "arm64", - "generator": "Ninja", + "generator": "Visual Studio 16 2019", "hidden": true, "architecture": { - "value": "arm64", - "strategy": "external" + "value": "arm64" } }, {