diff options
Diffstat (limited to 'components/CMakeLists.txt')
-rw-r--r-- | components/CMakeLists.txt | 12 |
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) | |||
10 | install_qml_component(kube) | 10 | install_qml_component(kube) |
11 | add_subdirectory(kube/tests) | 11 | add_subdirectory(kube/tests) |
12 | install_qml_component(accounts) | 12 | install_qml_component(accounts) |
13 | |||
14 | |||
15 | #Convert list to comma-separated and quoted list. | ||
16 | set(_AVAILABLE_ACCOUNT_PLUGINS ${AVAILABLE_ACCOUNT_PLUGINS}) | ||
17 | set(AVAILABLE_ACCOUNT_PLUGINS "") | ||
18 | foreach(PLUGIN ${_AVAILABLE_ACCOUNT_PLUGINS}) | ||
19 | set(AVAILABLE_ACCOUNT_PLUGINS "${AVAILABLE_ACCOUNT_PLUGINS}, \"${PLUGIN}\"") | ||
20 | endforeach() | ||
21 | string(SUBSTRING "${AVAILABLE_ACCOUNT_PLUGINS}" 2 -1 AVAILABLE_ACCOUNT_PLUGINS) | ||
22 | |||
23 | configure_file(accounts/AccountConfiguration.qml.in accounts/AccountConfiguration.qml) | ||
24 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/accounts/AccountConfiguration.qml DESTINATION ${QML_INSTALL_DIR}/org/kube/components/accounts) | ||
13 | install_qml_component(mailviewer) | 25 | install_qml_component(mailviewer) |