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})
|
target_compile_options(whisper PRIVATE ${WHISPER_EXTRA_FLAGS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(whisper PUBLIC ggml)
|
find_package(Threads REQUIRED)
|
||||||
|
target_link_libraries(whisper PUBLIC ggml Threads::Threads)
|
||||||
|
|
||||||
if (WHISPER_COREML)
|
if (WHISPER_COREML)
|
||||||
target_link_libraries(whisper PRIVATE whisper.coreml)
|
target_link_libraries(whisper PRIVATE whisper.coreml)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue