Skip to content

Commit a968e50

Browse files
committed
CMake fix: host for msvc compiler can only be x86 or x64
1 parent 3d0e436 commit a968e50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakePresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{
3333
"name": "arm64-windows-msvc", "hidden": true,
3434
"architecture": { "value": "arm64", "strategy": "external" },
35-
"toolset": { "value": "host=x86_64", "strategy": "external" },
35+
"toolset": { "value": "host=x64", "strategy": "external" },
3636
"cacheVariables": {
3737
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-msvc.cmake"
3838
}
@@ -41,7 +41,7 @@
4141
{
4242
"name": "arm64-windows-llvm", "hidden": true,
4343
"architecture": { "value": "arm64", "strategy": "external" },
44-
"toolset": { "value": "host=x86_64", "strategy": "external" },
44+
"toolset": { "value": "host=x64", "strategy": "external" },
4545
"cacheVariables": {
4646
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake"
4747
}

0 commit comments

Comments
 (0)