Warning, /plasma/plymouth-kcm/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # KI18N Translation Domain for this library
0002 add_definitions(-DTRANSLATION_DOMAIN=\"kcm_plymouth\")
0003
0004 SET(PLYMOUTH_THEMES_DIR "/usr/share/plymouth/themes/" CACHE STRING "Where Plymouth themes are installed")
0005 SET(PLYMOUTH_CONFIG_PATH "/etc/plymouth/plymouthd.conf" CACHE STRING "where the main plymouth config file is")
0006 configure_file (config-kcm.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kcm.h )
0007
0008 kcmutils_add_qml_kcm(kcm_plymouth SOURCES kcm.cpp kcm.h)
0009
0010 target_link_libraries(kcm_plymouth PRIVATE
0011 KF6::CoreAddons
0012 KF6::AuthCore
0013 KF6::I18n
0014 KF6::KCMUtils
0015 KF6::NewStuffCore
0016 KF6::ConfigCore
0017 KF6::KIOCore
0018 )
0019
0020 install(FILES plymouth.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
0021
0022 #installer tool for knewstuff
0023 add_executable(kplymouththemeinstaller
0024 kplymouththemeinstaller.cpp
0025 )
0026
0027 target_link_libraries(kplymouththemeinstaller
0028 KF6::I18n
0029 KF6::AuthCore
0030 KF6::CoreAddons
0031 KF6::Archive
0032 KF6::ConfigCore
0033 )
0034 install(TARGETS kplymouththemeinstaller ${KF_INSTALL_TARGETS_DEFAULT_ARGS})
0035
0036 #polkit stuff
0037 add_executable(plymouthhelper helper.cpp helper.h)
0038 target_link_libraries(plymouthhelper
0039 KF6::Archive
0040 KF6::AuthCore
0041 KF6::ConfigCore
0042 KF6::I18n
0043 )
0044 install(TARGETS plymouthhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
0045 kauth_install_helper_files(plymouthhelper org.kde.kcontrol.kcmplymouth root)
0046 kauth_install_actions(org.kde.kcontrol.kcmplymouth kcmplymouth_actions.actions)