diff --git a/CMakeLists.txt b/CMakeLists.txt index cd934a70c..72b527bf1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,8 +103,12 @@ endif() add_dependencies(taglibreader taglib) if (CMAKE_SYSTEM_NAME MATCHES "Linux") + # alsa, pulseuadio on by default. sndio off by default. add_subdirectory(src/plugins/alsaout) - if (NOT ${ENABLE_PULSEAUDIO} MATCHES "false") # enabled by default + if (${ENABLE_SNDIO} MATCHES "true") + add_subdirectory(src/plugins/sndioout) + endif() + if (NOT ${ENABLE_PULSEAUDIO} MATCHES "false") add_subdirectory(src/plugins/pulseout) endif() elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")