Skip to content

Commit e0b321b

Browse files
committed
add missing libraries to ggml cmake install
1 parent e541f7f commit e0b321b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ install(TARGETS ggml PUBLIC_HEADER)
240240

241241
if (BUILD_SHARED_LIBS)
242242
install(TARGETS ggml LIBRARY)
243+
get_target_property(GGML_LINK_LIBRARIES ggml LINK_LIBRARIES)
244+
install(TARGETS ${GGML_LINK_LIBRARIES} LIBRARY)
243245
endif()
244246

245247
# FIXME: this should be done in the backend cmake files

0 commit comments

Comments
 (0)