diff --git a/modules/theme/CMakeLists.txt b/modules/theme/CMakeLists.txt index ac7d99a..18cb211 100644 --- a/modules/theme/CMakeLists.txt +++ b/modules/theme/CMakeLists.txt @@ -1,27 +1,24 @@ -project(kcm_mobile_theme) - - set(themesettings_SRCS themesettings.cpp themelistmodel.cpp ) add_library(kcm_mobile_theme MODULE ${themesettings_SRCS}) target_link_libraries(kcm_mobile_theme Qt5::DBus Qt5::Gui Qt5::Quick Qt5::Qml KF5::Plasma KF5::I18n KF5::QuickAddons ) kcoreaddons_desktop_to_json(kcm_mobile_theme "themesettings.desktop") # Time and Date install(FILES themesettings.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) install(TARGETS kcm_mobile_theme DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) kpackage_install_package(package kcm_mobile_theme kcms) diff --git a/modules/time/CMakeLists.txt b/modules/time/CMakeLists.txt index da80640..f6a7d35 100644 --- a/modules/time/CMakeLists.txt +++ b/modules/time/CMakeLists.txt @@ -1,30 +1,23 @@ -project(kcm_mobile_time) - -#include_directories(../../../../components/settings) - -#configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ) - - set(timesettings_SRCS timesettings.cpp timezone.cpp timezonesmodel.cpp ) qt5_add_dbus_interface(timesettings_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/timedated1.xml timedated_interface) add_library(kcm_mobile_time MODULE ${timesettings_SRCS}) target_link_libraries(kcm_mobile_time Qt5::Quick Qt5::Qml KF5::KDELibs4Support KF5::QuickAddons ) kcoreaddons_desktop_to_json(kcm_mobile_time "timesettings.desktop") # Time and Date install(FILES timesettings.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) install(TARGETS kcm_mobile_time DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/kcms) kpackage_install_package(package kcm_mobile_time kcms)