4
find_package(Qt5Core REQUIRED)
5
find_package(Qt5Quick REQUIRED)
6
pkg_search_module(DEE dee-1.0 REQUIRED)
7
pkg_search_module(GOBJECT gobject-2.0 REQUIRED)
8
pkg_search_module(HUDCLIENT hud-client-2 REQUIRED)
9
pkg_search_module(DEEQT libdee-qt5 REQUIRED)
10
pkg_search_module(PULSE libpulse REQUIRED)
13
${CMAKE_SOURCE_DIR}/plugins/HudClient
14
${CMAKE_CURRENT_BINARY_DIR}
15
${Qt5Core_INCLUDE_DIRS}
16
${Qt5Quick_INCLUDE_DIRS}
19
${HUDCLIENT_INCLUDE_DIRS}
24
${CMAKE_SOURCE_DIR}/plugins/HudClient/hudclient.cpp
25
${CMAKE_SOURCE_DIR}/plugins/HudClient/volumepeakdetector.cpp
26
${CMAKE_SOURCE_DIR}/plugins/HudClient/hudtoolbarmodel.cpp
28
fake_libhud_client.cpp
29
libhud_client_stub.cpp
32
add_library(FakeHudClientQml MODULE ${HudQML_SOURCES})
33
target_link_libraries(FakeHudClientQml
41
qt5_use_modules(FakeHudClientQml Qml)
43
# copy qmldir file into build directory for shadow builds
44
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
45
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}