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 +install(FILES kalgebraabout.json kalgebraconsole.json kalgebraplot2d.json kalgebraplot3d.json + kalgebratables.json kalgebravariables.json kalgebradictionary.json DESTINATION ${KDE_INSTALL_DATADIR}/kalgebramobile/plugins/ ) + +set(QML_SRC Console.qml Plot2D.qml Plot3D.qml Tables.qml Dictionary.qml + About.qml VariablesView.qml) +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 @@ -4,3 +4,4 @@ qmldir DESTINATION ${KDE_INSTALL_DATADIR}/kalgebramobile/plugins/widgets/ ) +