Skip to content

Commit 68fd103

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

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
@@ -230,7 +230,7 @@ target_include_directories(ggml-base PRIVATE .)
230230
add_library(ggml
231231
ggml-backend-reg.cpp)
232232

233-
target_link_libraries(ggml PUBLIC ggml-base)
233+
target_link_libraries(ggml PUBLIC ggml-base stdc++fs)
234234

235235
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
236236
target_link_libraries(ggml PRIVATE dl)

0 commit comments

Comments
 (0)