2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Make building cubeb optional

This commit is contained in:
KAMiKAZOW 2018-08-07 13:21:56 +02:00 committed by GitHub
parent 826b1394e8
commit 0f5c4615ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,6 @@ add_library(audio_core STATIC
audio_renderer.cpp audio_renderer.cpp
audio_renderer.h audio_renderer.h
buffer.h buffer.h
cubeb_sink.cpp
cubeb_sink.h
codec.cpp codec.cpp
codec.h codec.h
null_sink.h null_sink.h
@ -15,6 +13,8 @@ add_library(audio_core STATIC
sink_details.cpp sink_details.cpp
sink_details.h sink_details.h
sink_stream.h sink_stream.h
$<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h>
) )
create_target_directory_groups(audio_core) create_target_directory_groups(audio_core)