From 539e2e09cf8d7c1d8e501900389da8e9b351331d Mon Sep 17 00:00:00 2001 From: NBonaparte Date: Fri, 9 Feb 2018 14:03:21 -0800 Subject: [PATCH] fix(cmake): look for and remove alsa.cpp if not used --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f49aa88d..8f02f049 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,7 +8,7 @@ file(GLOB_RECURSE files RELATIVE ${CMAKE_CURRENT_LIST_DIR} *.c[p]*) list(REMOVE_ITEM files ipc.cpp) if(NOT ENABLE_ALSA) - list(REMOVE_ITEM files modules/volume.cpp) + list(REMOVE_ITEM files modules/alsa.cpp) list(REMOVE_ITEM files adapters/alsa/control.cpp) list(REMOVE_ITEM files adapters/alsa/mixer.cpp) endif()