]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
cmake : fix usage issues (ggml/1257)
authorKai Pastor <redacted>
Tue, 22 Jul 2025 18:13:21 +0000 (20:13 +0200)
committerGeorgi Gerganov <redacted>
Mon, 28 Jul 2025 10:02:32 +0000 (13:02 +0300)
commit5c3b794c51c8de94af8fe0d54517d65a4eb2f64c
tree3f6c879d6ae75e0246683cef46be5b2750f0dc19
parente238dc1bdd07cef9fd1069ae2f585beb205d7b43
cmake : fix usage issues (ggml/1257)

* CMake config: Create target only once

Fix error on repeated find_package(ggml).
For simplicity, check only for the top-level ggml::ggml.

* CMake config: Add CUDA link libs

* CMake config: Add OpenCL link libs

* CMake config: Use canonical find_dependency

Use set and append to control link lib variables.
Apply more $<LINK_ONLY...>.

* CMake config: Wire OpenMP dependency
ggml/cmake/ggml-config.cmake.in
ggml/src/ggml-cpu/CMakeLists.txt