Skip to content

Commit 3bd5ae3

Browse files
committed
ggml : fix undefined reference to std::filesystem(#10978)
add link library stdc++fs for ggml.
1 parent 9ba399d commit 3bd5ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ add_library(ggml
225225
target_link_libraries(ggml PUBLIC ggml-base)
226226

227227
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
228-
target_link_libraries(ggml PRIVATE dl)
228+
target_link_libraries(ggml PRIVATE dl stdc++fs)
229229
endif()
230230

231231
function(ggml_add_backend_library backend)

0 commit comments

Comments
 (0)