mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-31 10:31:34 +01:00
cmake : use WHISPER_EXTRA_FLAGS (#2294)
This commit is contained in:
parent
16d72504fe
commit
d207c68822
@ -123,6 +123,10 @@ set_target_properties(whisper PROPERTIES
|
||||
target_include_directories(whisper PUBLIC . ../include)
|
||||
target_compile_features (whisper PUBLIC cxx_std_11) # don't bump
|
||||
|
||||
if (WHISPER_EXTRA_FLAGS)
|
||||
target_compile_options(whisper PRIVATE ${WHISPER_EXTRA_FLAGS})
|
||||
endif()
|
||||
|
||||
target_link_libraries(whisper PUBLIC ggml)
|
||||
|
||||
if (WHISPER_COREML)
|
||||
|
Loading…
Reference in New Issue
Block a user