diff options
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e70e4f..abf2a20 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,6 +95,9 @@ OPTION ( WITH_NSM OPTION ( WITH_DATABASE_STORAGE "build with sqlite as in memory storage" OFF) +OPTION( WITH_PULSE_CONTROL_PLUGIN + "Enable PULSE Audio control plugin interface" OFF) + SET (WITH_COMMON_API_GEN ON CACHE INTERNAL "hide this!" FORCE) IF (WITH_ENABLED_IPC STREQUAL "DBUS") @@ -248,7 +251,11 @@ if(WITH_PLUGIN_ROUTING) endif(WITH_PLUGIN_ROUTING) if(WITH_PLUGIN_CONTROL) - add_subdirectory (PluginControlInterface) + if(WITH_PULSE_CONTROL_PLUGIN) + add_subdirectory (PluginControlInterfacePulse) + else () + add_subdirectory (PluginControlInterface) + endif(WITH_PULSE_CONTROL_PLUGIN) endif(WITH_PLUGIN_CONTROL) add_subdirectory (AudioManagerDaemon) |