summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-07 20:25:17 +0200
committerGitHub <noreply@github.com>2018-08-07 20:25:17 +0200
commit07595987acb4280d1c021e10a5ee075869b65e7a (patch)
treeb66ea2ae4b8b5db21eeceef943536d923d3eb281 /src
parentMerge pull request #956 from lioncash/nv (diff)
parentMake building cubeb optional (diff)
downloadyuzu-07595987acb4280d1c021e10a5ee075869b65e7a.tar
yuzu-07595987acb4280d1c021e10a5ee075869b65e7a.tar.gz
yuzu-07595987acb4280d1c021e10a5ee075869b65e7a.tar.bz2
yuzu-07595987acb4280d1c021e10a5ee075869b65e7a.tar.lz
yuzu-07595987acb4280d1c021e10a5ee075869b65e7a.tar.xz
yuzu-07595987acb4280d1c021e10a5ee075869b65e7a.tar.zst
yuzu-07595987acb4280d1c021e10a5ee075869b65e7a.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio_core/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt
index 827ab0ac7..ec71524a3 100644
--- a/src/audio_core/CMakeLists.txt
+++ b/src/audio_core/CMakeLists.txt
@@ -4,8 +4,6 @@ add_library(audio_core STATIC
audio_renderer.cpp
audio_renderer.h
buffer.h
- cubeb_sink.cpp
- cubeb_sink.h
codec.cpp
codec.h
null_sink.h
@@ -15,6 +13,8 @@ add_library(audio_core STATIC
sink_details.cpp
sink_details.h
sink_stream.h
+
+ $<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h>
)
create_target_directory_groups(audio_core)