Merge pull request #959 from KAMiKAZOW/cubeb-compilation
Make building cubeb optional
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user