]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
cmake : fix undefined reference errors for std::filesystem in ggml (#12092) (llama...
authorxiaofei <redacted>
Thu, 6 Mar 2025 22:58:25 +0000 (06:58 +0800)
committerGeorgi Gerganov <redacted>
Sat, 8 Mar 2025 13:13:01 +0000 (15:13 +0200)
Signed-off-by: Ray Lee <redacted>
Co-authored-by: Ray Lee <redacted>
ggml/src/CMakeLists.txt

index cfd4ac54cacb26b7068cba47afa6bed55f0df147..52817510f6e75459ca285e8a827f2d1c91fe1a0d 100644 (file)
@@ -236,7 +236,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)