From e0b321b89b2d45cea66eac10d5bdf595c3a1dbd1 Mon Sep 17 00:00:00 2001 From: slaren Date: Wed, 13 Nov 2024 20:33:38 +0100 Subject: [PATCH] add missing libraries to ggml cmake install --- ggml/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ggml/CMakeLists.txt b/ggml/CMakeLists.txt index ec78169f2..177dd6e43 100644 --- a/ggml/CMakeLists.txt +++ b/ggml/CMakeLists.txt @@ -240,6 +240,8 @@ install(TARGETS ggml PUBLIC_HEADER) if (BUILD_SHARED_LIBS) install(TARGETS ggml LIBRARY) + get_target_property(GGML_LINK_LIBRARIES ggml LINK_LIBRARIES) + install(TARGETS ${GGML_LINK_LIBRARIES} LIBRARY) endif() # FIXME: this should be done in the backend cmake files