]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
cmake: remove CMP0194 policy to restore MSVC builds (llama/21934)
authortexasich <redacted>
Sun, 19 Apr 2026 07:25:05 +0000 (02:25 -0500)
committerGeorgi Gerganov <redacted>
Thu, 30 Apr 2026 08:29:12 +0000 (11:29 +0300)
commit171f037fbaef10c7901018a2be91e85764d581c2
tree4c97e8f52c366f86d00506eaa67a3474f5baa500
parent32789b9e07afc115eec3be81a76a34453e90ae67
cmake: remove CMP0194 policy to restore MSVC builds (llama/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