Add in-build ggml::ggml ALIAS library (ggml/1260)
Enable uniform linking with subproject and with find_package.
This commit is contained in:
parent
1f63e75f3b
commit
1a3b5e80f7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue