mirror of
https://github.com/ggerganov/whisper.cpp
synced 2026-04-10 17:05:31 +02:00
build: link whisper target against Threads::Threads for FreeBSD support (#3568)
This commit is contained in:
parent
2551e4ce98
commit
3e79e73eee
@ -125,7 +125,8 @@ if (WHISPER_EXTRA_FLAGS)
|
||||
target_compile_options(whisper PRIVATE ${WHISPER_EXTRA_FLAGS})
|
||||
endif()
|
||||
|
||||
target_link_libraries(whisper PUBLIC ggml)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(whisper PUBLIC ggml Threads::Threads)
|
||||
|
||||
if (WHISPER_COREML)
|
||||
target_link_libraries(whisper PRIVATE whisper.coreml)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user