cmake : fix passing GGML_PERF compile option

This commit is contained in:
Georgi Gerganov 2022-11-03 20:18:57 +02:00
parent 0e689f83d8
commit a2eeb941f6
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -151,6 +151,10 @@ else()
endif() endif()
endif() endif()
if (WHISPER_PERF)
set(WHISPER_EXTRA_FLAGS ${WHISPER_EXTRA_FLAGS} -DGGML_PERF)
endif()
# #
# whisper - this is the main library of the project # whisper - this is the main library of the project
# #