Skip to content

Commit 37be989

Browse files
ggerganoviThalay
authored andcommitted
cmake : use WHISPER_EXTRA_FLAGS (ggml-org#2294)
1 parent 3b2720b commit 37be989

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ set_target_properties(whisper PROPERTIES
123123
target_include_directories(whisper PUBLIC . ../include)
124124
target_compile_features (whisper PUBLIC cxx_std_11) # don't bump
125125

126+
if (WHISPER_EXTRA_FLAGS)
127+
target_compile_options(whisper PRIVATE ${WHISPER_EXTRA_FLAGS})
128+
endif()
129+
126130
target_link_libraries(whisper PUBLIC ggml)
127131

128132
if (WHISPER_COREML)

0 commit comments

Comments
 (0)