From be2ab2ef3122dd78cbbce835d056ca59f5042cd4 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 18 Jul 2023 02:02:39 -0400 Subject: support mindeps build without rnnoise --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ab51f67..37ea1e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,6 +163,8 @@ if (ENABLE_VOICE) target_link_libraries(abaddon ${CMAKE_DL_LIBS}) if (ENABLE_RNNOISE) + target_compile_definitions(abaddon PRIVATE WITH_RNNOISE) + find_package(rnnoise QUIET) if (NOT rnnoise_FOUND) message("rnnoise was not found and will be included as a submodule") -- cgit v1.2.3