Make sure PulseAudio plugin is compiled in Linux

This commit is contained in:
casey langen 2018-01-12 00:50:30 -08:00
parent fface704c8
commit 017f0905bf

View File

@ -108,9 +108,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
if (${ENABLE_SNDIO} MATCHES "true") if (${ENABLE_SNDIO} MATCHES "true")
add_subdirectory(src/plugins/sndioout) add_subdirectory(src/plugins/sndioout)
endif() endif()
if (NOT ${ENABLE_PULSEAUDIO} MATCHES "false") add_subdirectory(src/plugins/pulseout)
add_subdirectory(src/plugins/pulseout)
endif()
elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
add_subdirectory(src/plugins/sndioout) add_subdirectory(src/plugins/sndioout)
if (${ENABLE_PULSEAUDIO} MATCHES "true") if (${ENABLE_PULSEAUDIO} MATCHES "true")