]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Add in-build ggml::ggml ALIAS library (ggml/1260)
authorKai Pastor <redacted>
Tue, 3 Jun 2025 10:33:28 +0000 (12:33 +0200)
committerGeorgi Gerganov <redacted>
Tue, 10 Jun 2025 09:40:33 +0000 (12:40 +0300)
Enable uniform linking with subproject and with find_package.

ggml/src/CMakeLists.txt

index 76b24bd9d118f8eb1da390177fe77087134947a0..abaca7c03bd5beae14d8d63d29e2da30797291bc 100644 (file)
@@ -213,6 +213,7 @@ endif()
 
 add_library(ggml
             ggml-backend-reg.cpp)
+add_library(ggml::ggml ALIAS ggml)
 
 target_link_libraries(ggml PUBLIC ggml-base)