Skip to content

Commit d3eced1

Browse files
Xarbirusarthw
authored andcommitted
CMake fix: host for msvc compiler can only be x86 or x64 (ggml-org#8624)
1 parent 1b494f8 commit d3eced1

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
@@ -32,17 +32,17 @@
3232

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

4242
{
4343
"name": "arm64-windows-llvm", "hidden": true,
44-
"architecture": { "value": "arm64", "strategy": "external" },
45-
"toolset": { "value": "host=x86_64", "strategy": "external" },
44+
"architecture": { "value": "arm64", "strategy": "external" },
45+
"toolset": { "value": "host=x64", "strategy": "external" },
4646
"cacheVariables": {
4747
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake"
4848
}

0 commit comments

Comments
 (0)