]> git.djapps.eu Git - pkg/ggml/sources/llama.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 06:21:56 +0000 (09:21 +0300)
Enable uniform linking with subproject and with find_package.

ggml/src/CMakeLists.txt

index 7dcb031f0f9c6c85c092653d7f8d528189ea9db5..d91dbc46fe9e1e09b43efc0fc0f6868ba5dbe4f3 100644 (file)
@@ -212,6 +212,7 @@ endif()
 
 add_library(ggml
             ggml-backend-reg.cpp)
+add_library(ggml::ggml ALIAS ggml)
 
 target_link_libraries(ggml PUBLIC ggml-base)