]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
whisper : add check that target name exists (whisper/3103)
authorDaniel Bevenius <redacted>
Thu, 1 May 2025 08:05:24 +0000 (10:05 +0200)
committerGeorgi Gerganov <redacted>
Thu, 1 May 2025 14:06:26 +0000 (17:06 +0300)
commit54e64525ed96774be515e7183b43d86be327ffac
tree27eaed18940b64918991d6b90894ad2af5b6037b
parent0af300ed6e984edb0add7da0a2c3795ef9ba4a9d
whisper : add check that target name exists (whisper/3103)

This commit adds a check to makes sure that the target exists before
trying to add compile options to ignore warnings when using MSVC.

The motivation for this is currently the build is broken depending on
the cmake options provided. With this fix it should be possible to build
even if the targets are not actually available.

Refs: https://github.com/ggml-org/whisper.cpp/pull/3090#issuecomment-2842760104
CMakeLists.txt