mirror of
https://github.com/clangen/musikcube.git
synced 2025-02-06 03:39:50 +00:00
cmake: allow disabling pulse and alsa on linux
Since https://github.com/clangen/musikcube/pull/421 I can use pipewire directly, which itself interfaces with ALSA and replaces pulseaudio. Allow dropping both at build time, previously they were hard-selected when on Linux. Signed-off-by: Robert Günzler <r@gnzler.io>
This commit is contained in:
parent
51275f35ba
commit
e2574cc1f4
@ -174,8 +174,12 @@ add_dependencies(musikcube musikcore taglibreader nullout server httpdatastream
|
||||
add_dependencies(musikcubed musikcube)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
add_subdirectory(src/plugins/alsaout)
|
||||
add_subdirectory(src/plugins/pulseout)
|
||||
if (${ENABLE_ALSA} MATCHES "true")
|
||||
add_subdirectory(src/plugins/alsaout)
|
||||
endif()
|
||||
if (${ENABLE_PULSEAUDIO} MATCHES "true")
|
||||
add_subdirectory(src/plugins/pulseout)
|
||||
endif()
|
||||
if (${ENABLE_PIPEWIRE} MATCHES "true")
|
||||
add_subdirectory(src/plugins/pipewireout)
|
||||
add_dependencies(musikcube pipewireout)
|
||||
|
Loading…
x
Reference in New Issue
Block a user