mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-08-06 10:00:53 -05:00
build: link whisper target against Threads::Threads for FreeBSD support (#3568)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user