Skip to content

Commit 48dddbb

Browse files
rgerganovggerganov
authored andcommitted
ggml : install dynamic backends (ggml/1240)
1 parent 5ea2c37 commit 48dddbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ function(ggml_add_backend_library backend)
225225
set_target_properties(${backend} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
226226
target_compile_definitions(${backend} PRIVATE GGML_BACKEND_DL)
227227
add_dependencies(ggml ${backend})
228-
install(TARGETS ${backend} LIBRARY DESTINATION bin)
229-
else()
228+
install(TARGETS ${backend} LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR})
229+
else()
230230
add_library(${backend} ${ARGN})
231231
target_link_libraries(ggml PUBLIC ${backend})
232232
install(TARGETS ${backend} LIBRARY)

0 commit comments

Comments
 (0)