Skip to content

Commit

Permalink
cmake : use WHISPER_EXTRA_FLAGS (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored Jul 9, 2024
1 parent 16d7250 commit d207c68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d207c68

Please sign in to comment.