]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake: remove CMP0194 policy to restore MSVC builds (#21934)
authortexasich <redacted>
Sun, 19 Apr 2026 07:25:05 +0000 (02:25 -0500)
committerGitHub <redacted>
Sun, 19 Apr 2026 07:25:05 +0000 (10:25 +0300)
commit09b4efa95f8223f6d168f046c80fe4529a68117b
treed6e1d6c7a0ad57d3283f628367124b3669ffce66
parent455d8e4be85aaae75195435a513a2a5dbef0136c
cmake: remove CMP0194 policy to restore MSVC builds (#21934)

#21630 added the CMP0194 NEW policy to silence a CMake warning, but on Windows runners it caused CMake to prefer the MinGW toolchain for ASM and broke MSVC builds.

Reverting only that policy block restores the previous working behavior. The CMake 4.1+ warning comes back, but that is cosmetic and does not break any platform.

Reported-by: oobabooga
Refs: #21630

Co-authored-by: texasich <redacted>
ggml/CMakeLists.txt