X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Faudio%2FCMakeLists.txt;h=ee858b4ca11334545c787a3f56ea49aa4b198f14;hb=3bbfb37bb4572a110122b1a83e21261108a65460;hp=7fa1f75f98fe134e61a6464e927b3835f926da7a;hpb=e853da4bd1cb44b6a992aff96a4066ae5bd54720;p=src%2Fapp-framework-binder.git diff --git a/plugins/audio/CMakeLists.txt b/plugins/audio/CMakeLists.txt index 7fa1f75f..ee858b4c 100644 --- a/plugins/audio/CMakeLists.txt +++ b/plugins/audio/CMakeLists.txt @@ -1,6 +1,10 @@ IF(alsa_FOUND) - ADD_LIBRARY(audio-api MODULE audio-api.c audio-alsa.c) + IF(pulseaudio_FOUND) + SET(pulse_sources audio-pulse.c) + ENDIF(pulseaudio_FOUND) + + ADD_LIBRARY(audio-api MODULE audio-api.c audio-alsa.c ${pulse_sources}) SET_TARGET_PROPERTIES(audio-api PROPERTIES PREFIX "") TARGET_LINK_LIBRARIES(audio-api ${link_libraries}) INCLUDE_DIRECTORIES(${include_dirs})