Skip to content

Commit 1a2c20f

Browse files
committed
ggml : fix undefined reference errors for std::filesystem (#12092)
Signed-off-by: Ray Lee <[email protected]>
1 parent b95c8af commit 1a2c20f

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
@@ -233,7 +233,7 @@ add_library(ggml
233233
target_link_libraries(ggml PUBLIC ggml-base)
234234

235235
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
236-
target_link_libraries(ggml PRIVATE dl)
236+
target_link_libraries(ggml PRIVATE dl stdc++fs)
237237
endif()
238238

239239
function(ggml_add_backend_library backend)

0 commit comments

Comments
 (0)