fix(build): Strip alsa sources when not building with alsalib
This commit is contained in:
parent
4c36d65cbe
commit
3489ac7852
@ -7,7 +7,7 @@
|
||||
file(GLOB_RECURSE SOURCES RELATIVE ${PROJECT_SOURCE_DIR}/src *.c[p]*)
|
||||
|
||||
if(NOT ENABLE_ALSA)
|
||||
list(REMOVE_ITEM SOURCES adapters/alsa.cpp modules/volume.cpp)
|
||||
list(REMOVE_ITEM SOURCES adapters/alsa/mixer.cpp adapters/alsa/control.cpp modules/volume.cpp)
|
||||
endif()
|
||||
if(NOT ENABLE_MPD)
|
||||
list(REMOVE_ITEM SOURCES adapters/mpd.cpp modules/mpd.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user