Enable WHISPER_DEBUG flag to get DEBUG logs on debug builds

This commit is contained in:
arizhih 2024-07-09 12:01:49 +02:00
parent f1030ef762
commit 84522742da
2 changed files with 2 additions and 1 deletions

View file

@ -184,6 +184,7 @@ fn main() {
// debug builds are too slow to even remotely be usable,
// so we build with optimizations even in debug mode
config.define("CMAKE_BUILD_TYPE", "RelWithDebInfo");
config.cxxflag("-DWHISPER_DEBUG");
}
// Allow passing any WHISPER cmake flag