Skip to content

Commit

Permalink
ggml : fix undefined reference to std::filesystem(#10978)
Browse files Browse the repository at this point in the history
add link library stdc++fs for ggml.
  • Loading branch information
Clauszy committed Dec 26, 2024
1 parent 9ba399d commit 3bd5ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ add_library(ggml
target_link_libraries(ggml PUBLIC ggml-base)

if (CMAKE_SYSTEM_NAME MATCHES "Linux")
target_link_libraries(ggml PRIVATE dl)
target_link_libraries(ggml PRIVATE dl stdc++fs)
endif()

function(ggml_add_backend_library backend)
Expand Down

0 comments on commit 3bd5ae3

Please sign in to comment.