summaryrefslogtreecommitdiffstats
path: root/components/CMakeLists.txt
blob: 9ae2824d983d0ece9b1ee4eec74859b2a0363248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
project(kube-components)

find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Widgets)

macro(install_qml_component name)
    install(DIRECTORY ${name}/qml/ DESTINATION ${QML_INSTALL_DIR}/org/kube/components/${name})
    install(FILES ${name}/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/components/${name})
endmacro(install_qml_component)

install_qml_component(kube)
add_subdirectory(kube/tests)
install_qml_component(accounts)
install_qml_component(mailviewer)