mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +00:00
Enable PulseAudio by default on Linux, disable by default on FreeBSD,
but allow configuration via CMake flag.
This commit is contained in:
parent
dc91063a1f
commit
9d935c248e
@ -104,10 +104,14 @@ add_dependencies(taglibreader taglib)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
add_subdirectory(src/plugins/alsaout)
|
||||
add_subdirectory(src/plugins/pulseout)
|
||||
if (NOT ${ENABLE_PULSEAUDIO} MATCHES "false") # enabled by default
|
||||
add_subdirectory(src/plugins/pulseout)
|
||||
endif()
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
add_subdirectory(src/plugins/sndioout)
|
||||
add_subdirectory(src/plugins/pulseout)
|
||||
if (${ENABLE_PULSEAUDIO} MATCHES "true")
|
||||
add_subdirectory(src/plugins/pulseout) # disabled by default
|
||||
endif()
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||
add_subdirectory(src/plugins/coreaudioout)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user