summaryrefslogtreecommitdiffstats
path: root/plugins/alsa-sound/CMakeLists.txt
blob: 0d8a5f0c258e91908505a0571ea9ec89b5c3d6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### alsa-sound (icons and translations)

add_subdirectory( icons )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )


##### alsa-sound (plugin)

tde_add_kpart( libalsa-sound AUTOMOC
  SOURCES
    alsa-sound.cpp alsa-sound-configuration-ui.ui
    alsa-sound-configuration.cpp alsa-mixer-element-ui.ui
    alsa-mixer-element.cpp alsa-config-mixer-setting.cpp

  LINK tderadio-shared ${ALSA_LIBRARIES}
  DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
)