summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-07-18 02:02:39 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-07-18 02:02:39 -0400
commitbe2ab2ef3122dd78cbbce835d056ca59f5042cd4 (patch)
tree10c8d02bcac437ff37b1fc6b7e812c1af165c76f /CMakeLists.txt
parent7bc6116e213ae128fc403d8f28862513f00a2276 (diff)
downloadabaddon-portaudio-be2ab2ef3122dd78cbbce835d056ca59f5042cd4.tar.gz
abaddon-portaudio-be2ab2ef3122dd78cbbce835d056ca59f5042cd4.zip
support mindeps build without rnnoise
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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")