Skip to content

Commit 9bb6fd4

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakePresets.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131

3232
{
3333
"name": "arm64-windows-msvc", "hidden": true,
34-
"architecture": { "value": "arm64", "strategy": "external" },
35-
"toolset": { "value": "host=x86_64", "strategy": "external" },
34+
"architecture": { "value": "arm64", "strategy": "external" },
35+
"toolset": { "value": "host=x64", "strategy": "external" },
3636
"cacheVariables": {
3737
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-msvc.cmake"
3838
}
3939
},
4040

4141
{
4242
"name": "arm64-windows-llvm", "hidden": true,
43-
"architecture": { "value": "arm64", "strategy": "external" },
44-
"toolset": { "value": "host=x86_64", "strategy": "external" },
43+
"architecture": { "value": "arm64", "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)