zeek/auxil/vcpkg/ports/llama-cpp/0001-external-ggml.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

16 lines
314 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,10 +145,8 @@ endif()
# 3rd-party
#
-if (NOT TARGET ggml)
- add_subdirectory(ggml)
- # ... otherwise assume ggml is added by a parent CMakeLists.txt
-endif()
+find_package(ggml CONFIG REQUIRED)
+add_library(ggml ALIAS ggml::all)
#
# build the library