Add in-build ggml::ggml ALIAS library (ggml/1260)

Enable uniform linking with subproject and with find_package.
This commit is contained in:
Kai Pastor
2025-06-10 12:40:33 +03:00
committed by Georgi Gerganov
parent fbead67549
commit b933d17c30
+1
View 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)