Skip to content

Commit 776f9e5

Browse files
cmake : fix undefined reference errors for std::filesystem in ggml (#12092) (#12094)
Signed-off-by: Ray Lee <[email protected]> Co-authored-by: Ray Lee <[email protected]>
1 parent 3d652bf commit 776f9e5

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
@@ -236,7 +236,7 @@ add_library(ggml
236236
target_link_libraries(ggml PUBLIC ggml-base)
237237

238238
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
239-
target_link_libraries(ggml PRIVATE dl)
239+
target_link_libraries(ggml PRIVATE dl stdc++fs)
240240
endif()
241241

242242
function(ggml_add_backend_library backend)

0 commit comments

Comments
 (0)