diff --git a/mobile/plugins/CMakeLists.txt b/mobile/plugins/CMakeLists.txt --- a/mobile/plugins/CMakeLists.txt +++ b/mobile/plugins/CMakeLists.txt @@ -1,9 +1,10 @@ add_subdirectory(widgets) -install( FILES - Console.qml Plot2D.qml Plot3D.qml Tables.qml Dictionary.qml - About.qml VariablesView.qml - kalgebraabout.json - kalgebraconsole.json kalgebraplot2d.json kalgebraplot3d.json kalgebratables.json kalgebravariables.json kalgebradictionary.json +set(QML_SRC Console.qml Plot2D.qml Plot3D.qml Tables.qml Dictionary.qml + About.qml VariablesView.qml) +install(FILES ${QML_SRC} + kalgebraabout.json kalgebraconsole.json kalgebraplot2d.json kalgebraplot3d.json + kalgebratables.json kalgebravariables.json kalgebradictionary.json DESTINATION ${KDE_INSTALL_DATADIR}/kalgebramobile/plugins/ ) +ADD_CUSTOM_TARGET(QML SOURCES ${QML_SRC}) diff --git a/mobile/plugins/widgets/CMakeLists.txt b/mobile/plugins/widgets/CMakeLists.txt --- a/mobile/plugins/widgets/CMakeLists.txt +++ b/mobile/plugins/widgets/CMakeLists.txt @@ -3,4 +3,4 @@ install( FILES qmldir DESTINATION ${KDE_INSTALL_DATADIR}/kalgebramobile/plugins/widgets/ -) +) \ No newline at end of file