]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : add check that target name exists (#3103)
authorDaniel Bevenius <redacted>
Thu, 1 May 2025 08:05:24 +0000 (10:05 +0200)
committerGitHub <redacted>
Thu, 1 May 2025 08:05:24 +0000 (10:05 +0200)
commit0f49edf0f3fd055b9adba6d7de8f9c1d92fa472d
tree8e1c1068c7201baac5092698031d1c538055f050
parent25efcfe3ed4b0216a7bbf48da998cb02b93a05f3
whisper : add check that target name exists (#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
ggml/CMakeLists.txt