1
find_package(Qt5Core REQUIRED)
2
find_package(Qt5Quick REQUIRED)
3
pkg_search_module(DEE dee-1.0 REQUIRED)
4
pkg_search_module(GOBJECT gobject-2.0 REQUIRED)
5
pkg_search_module(HUDCLIENT hud-client-2 REQUIRED)
6
pkg_search_module(DEEQT libdee-qt5 REQUIRED)
7
pkg_search_module(PULSE libpulse REQUIRED)
10
${CMAKE_CURRENT_BINARY_DIR}
11
${Qt5Core_INCLUDE_DIRS}
12
${Qt5Quick_INCLUDE_DIRS}
15
${HUDCLIENT_INCLUDE_DIRS}
22
volumepeakdetector.cpp
26
add_library(HudClientQml MODULE ${HudQML_SOURCES})
27
target_link_libraries(HudClientQml
36
qt5_use_modules(HudClientQml Qml)
38
# copy qmldir file into build directory for shadow builds
39
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
40
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
43
install(TARGETS HudClientQml
44
DESTINATION ${SHELL_APP_DIR}/plugins/HudClient
48
DESTINATION ${SHELL_APP_DIR}/plugins/HudClient