File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ if (NOT MSVC)
1313 add_compile_options (-fsanitize=thread)
1414 link_libraries (-fsanitize=thread)
1515 endif ()
16-
1716 if (GGML_SANITIZE_ADDRESS)
1817 add_compile_options (-fsanitize=address -fno-omit-frame-pointer)
1918 link_libraries (-fsanitize=address)
@@ -239,13 +238,13 @@ function(ggml_add_backend_library backend)
239238 if (GGML_BACKEND_DIR)
240239 install (TARGETS ${backend}
241240 EXPORT ggml-targets
242- LIBRARY DESTINATION ${GGML_BACKEND_DIR }
241+ LIBRARY DESTINATION ${GGML_BACKEND_LIBDIR }
243242 RUNTIME DESTINATION ${GGML_BACKEND_DIR} )
244243 else ()
245244 install (TARGETS ${backend}
246245 EXPORT ggml-targets
247- LIBRARY DESTINATION ${CMAKE_BINARY_DIR }
248- RUNTIME DESTINATION ${CMAKE_BINARY_DIR } )
246+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR }
247+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR } )
249248 endif ()
250249 else ()
251250 add_library (${backend} ${ARGN} )
You can’t perform that action at this time.
0 commit comments