diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2023-12-13 02:34:38 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2023-12-13 02:34:38 +0300 |
commit | f069eb9857388c5026a4781e756c39f6f0ebfcd5 (patch) | |
tree | 20707c7daaed50e7ad8f4c7a84b7d21ca558ee97 | |
parent | 8fd40b8395e6a2d8709271c558822596aec8493b (diff) |
Add DRED/OSCE only conditionally
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9827fea8..6f8fcb65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -369,8 +369,6 @@ endif() add_sources_group(opus silk ${silk_headers} ${silk_sources}) add_sources_group(opus celt ${celt_headers} ${celt_sources}) add_sources_group(opus lpcnet ${deep_plc_headers} ${deep_plc_sources}) -add_sources_group(opus lpcnet ${dred_headers} ${dred_sources}) -add_sources_group(opus lpcnet ${osce_headers} ${osce_sources}) if(OPUS_FIXED_POINT) add_sources_group(opus silk ${silk_sources_fixed}) @@ -386,6 +384,7 @@ if(NOT OPUS_ENABLE_FLOAT_API) endif() if (OPUS_DRED) + add_sources_group(opus lpcnet ${dred_headers} ${dred_sources}) target_compile_definitions(opus PRIVATE ENABLE_DRED) if(NOT OPUS_DEEP_PLC) target_compile_definitions(opus PRIVATE ENABLE_DEEP_PLC) @@ -393,6 +392,7 @@ if (OPUS_DRED) endif() if (OPUS_OSCE) + add_sources_group(opus lpcnet ${osce_headers} ${osce_sources}) target_compile_definitions(opus PRIVATE ENABLE_OSCE) if(NOT OPUS_DEEP_PLC) target_compile_definitions(opus PRIVATE ENABLE_DEEP_PLC) |