Warning, /plasma/plasma-desktop/kcms/dateandtime/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # KI18N Translation Domain for this library 0002 add_definitions(-DTRANSLATION_DOMAIN=\"kcmkclock\") 0003 ########### next target ############### 0004 0005 set(kcm_clock_PART_SRCS dtime.cpp main.cpp k4timezonewidget.cpp) 0006 0007 ki18n_wrap_ui(kcm_clock_PART_SRCS dateandtime.ui) 0008 0009 qt_add_dbus_interface(kcm_clock_PART_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/timedated1.xml timedated_interface) 0010 0011 add_library(kcm_clock MODULE ${kcm_clock_PART_SRCS}) 0012 kcmutils_generate_desktop_file(kcm_clock) 0013 0014 target_link_libraries(kcm_clock 0015 Qt::DBus 0016 KF6::ItemViews 0017 KF6::AuthCore 0018 KF6::GuiAddons 0019 KF6::KCMUtils 0020 KF6::I18n 0021 KF6::I18nLocaleData 0022 KF6::KIOCore 0023 KF6::KIOWidgets 0024 KF6::Svg 0025 ICU::i18n 0026 ICU::uc 0027 ) 0028 install(TARGETS kcm_clock DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets ) 0029 0030 ########### next target ############### 0031 #This is only needed when not using timedated and can be removed in future 0032 0033 add_executable(kcmdatetimehelper helper.cpp ${helper_mocs}) 0034 target_link_libraries(kcmdatetimehelper KF6::AuthCore KF6::ConfigCore) 0035 0036 install(TARGETS kcmdatetimehelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR}) 0037 kauth_install_helper_files(kcmdatetimehelper org.kde.kcontrol.kcmclock root) 0038 0039 kauth_install_actions(org.kde.kcontrol.kcmclock kcmclock_actions.actions) 0040