summaryrefslogtreecommitdiffstats
path: root/components/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'components/CMakeLists.txt')
-rw-r--r--components/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt
index 9ae2824d..1f477a4d 100644
--- a/components/CMakeLists.txt
+++ b/components/CMakeLists.txt
@@ -10,4 +10,16 @@ endmacro(install_qml_component)
10install_qml_component(kube) 10install_qml_component(kube)
11add_subdirectory(kube/tests) 11add_subdirectory(kube/tests)
12install_qml_component(accounts) 12install_qml_component(accounts)
13
14
15#Convert list to comma-separated and quoted list.
16set(_AVAILABLE_ACCOUNT_PLUGINS ${AVAILABLE_ACCOUNT_PLUGINS})
17set(AVAILABLE_ACCOUNT_PLUGINS "")
18foreach(PLUGIN ${_AVAILABLE_ACCOUNT_PLUGINS})
19 set(AVAILABLE_ACCOUNT_PLUGINS "${AVAILABLE_ACCOUNT_PLUGINS}, \"${PLUGIN}\"")
20endforeach()
21string(SUBSTRING "${AVAILABLE_ACCOUNT_PLUGINS}" 2 -1 AVAILABLE_ACCOUNT_PLUGINS)
22
23configure_file(accounts/AccountConfiguration.qml.in accounts/AccountConfiguration.qml)
24install(FILES ${CMAKE_CURRENT_BINARY_DIR}/accounts/AccountConfiguration.qml DESTINATION ${QML_INSTALL_DIR}/org/kube/components/accounts)
13install_qml_component(mailviewer) 25install_qml_component(mailviewer)