Ver Fonte

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

Enable uniform linking with subproject and with find_package.
Kai Pastor há 8 meses atrás
pai
commit
1a3b5e80f7
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      ggml/src/CMakeLists.txt

+ 1 - 0
ggml/src/CMakeLists.txt

@@ -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)