aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/audio/CMakeLists.txt
blob: ee858b4ca11334545c787a3f56ea49aa4b198f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
IF(alsa_FOUND)

  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})
  INSTALL(TARGETS audio-api
          LIBRARY DESTINATION ${plugin_install_dir})

ENDIF(alsa_FOUND)