mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-15 13:28:08 +00:00
Add in-build ggml::ggml ALIAS library (ggml/1260)
Enable uniform linking with subproject and with find_package.
This commit is contained in:
committed by
Georgi Gerganov
parent
fbead67549
commit
b933d17c30
@ -213,6 +213,7 @@ endif()
|
|||||||
|
|
||||||
add_library(ggml
|
add_library(ggml
|
||||||
ggml-backend-reg.cpp)
|
ggml-backend-reg.cpp)
|
||||||
|
add_library(ggml::ggml ALIAS ggml)
|
||||||
|
|
||||||
target_link_libraries(ggml PUBLIC ggml-base)
|
target_link_libraries(ggml PUBLIC ggml-base)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user