Skip to content

Commit 8f76e59

Browse files
committed
1 parent 5f97f1b commit 8f76e59

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

native/toolchains/windows-arm64.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set(CMAKE_SYSTEM_NAME Windows)
22
set(CMAKE_SYSTEM_PROCESSOR arm64)
3-
set(CMAKE_GENERATOR_PLATFORM ARM64)
3+
# workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/19409
4+
set(CMAKE_GENERATOR_PLATFORM ARM64 CACHE INTERNAL "")
45
set(CMAKE_C_COMPILER_TARGET aarch64-windows-msvc)
56
set(CMAKE_CXX_COMPILER_TARGET aarch64-windows-msvc)
67
set(CMAKE_C_COMPILER clang)

native/toolchains/windows-x86_64.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set(CMAKE_SYSTEM_NAME Windows)
22
set(CMAKE_SYSTEM_PROCESSOR x64)
3-
set(CMAKE_GENERATOR_PLATFORM x64)
3+
# workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/19409
4+
set(CMAKE_GENERATOR_PLATFORM x64 CACHE INTERNAL "")
45
set(CMAKE_C_COMPILER_TARGET x64-windows-msvc)
56
set(CMAKE_CXX_COMPILER_TARGET x64-windows-msvc)
67
set(CMAKE_C_COMPILER clang)

0 commit comments

Comments
 (0)