Changeset View
Changeset View
Standalone View
Standalone View
plugins/systemvolume/CMakeLists.txt
- This file was added.
1 | set(kdeconnect_systemvolume_SRCS | ||||
---|---|---|---|---|---|
2 | systemvolumeplugin.cpp | ||||
3 | card.cpp | ||||
4 | client.cpp | ||||
5 | context.cpp | ||||
6 | device.cpp | ||||
7 | maps.cpp | ||||
8 | operation.cpp | ||||
9 | port.cpp | ||||
10 | profile.cpp | ||||
11 | pulseaudio.cpp | ||||
12 | pulseobject.cpp | ||||
13 | sink.cpp | ||||
14 | sinkinput.cpp | ||||
15 | modulemanager.cpp | ||||
16 | gconfitem.cpp | ||||
17 | source.cpp | ||||
18 | sourceoutput.cpp | ||||
19 | stream.cpp | ||||
20 | volumeobject.cpp | ||||
21 | debug.cpp | ||||
22 | server.cpp | ||||
23 | streamrestore.cpp | ||||
24 | module.cpp | ||||
25 | ) | ||||
26 | | ||||
27 | find_package(PulseAudio 5.0.0 REQUIRED) | ||||
28 | find_package(Canberra REQUIRED) | ||||
29 | find_package(GLIB2 REQUIRED) | ||||
30 | | ||||
31 | include_directories(${PULSEAUDIO_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${GCONF_INCLUDE_DIRS} | ||||
32 | ${GOBJECT_INCLUDE_DIRS}) | ||||
33 | | ||||
34 | | ||||
35 | kdeconnect_add_plugin(kdeconnect_systemvolume JSON kdeconnect_systemvolume.json SOURCES ${kdeconnect_systemvolume_SRCS}) | ||||
36 | | ||||
37 | target_link_libraries(kdeconnect_systemvolume | ||||
38 | kdeconnectcore | ||||
39 | Qt5::Core | ||||
40 | Qt5::Gui | ||||
41 | Qt5::DBus | ||||
42 | ${PULSEAUDIO_LIBRARY} | ||||
43 | ${PULSEAUDIO_MAINLOOP_LIBRARY} | ||||
44 | ${GCONF_LDFLAGS} | ||||
45 | ${GOBJECT_LDFLAGS} | ||||
46 | ${CANBERRA_LIBRARIES} | ||||
47 | ) |