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 set(kcm_plymouth_SRCS
0009   kcm.cpp kcm.h
0010 )
0011 
0012 add_library(kcm_plymouth MODULE ${kcm_plymouth_SRCS})
0013 
0014 kcmutils_generate_desktop_file(kcm_plymouth)
0015 target_link_libraries(kcm_plymouth
0016   KF5::CoreAddons
0017   KF5::AuthCore
0018   KF5::I18n
0019   KF5::Declarative
0020   KF5::QuickAddons
0021   KF5::NewStuff
0022   KF5::NewStuffCore
0023   KF5::ConfigCore
0024   KF5::KIOCore
0025 )
0026 
0027 install(TARGETS kcm_plymouth DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings)
0028 install(FILES plymouth.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
0029 
0030 kpackage_install_package(package kcm_plymouth kcms)
0031 
0032 #installer tool for knewstuff
0033 add_executable(kplymouththemeinstaller
0034     kplymouththemeinstaller.cpp
0035 )
0036 
0037 target_link_libraries(kplymouththemeinstaller
0038     KF5::I18n
0039     KF5::AuthCore
0040     KF5::CoreAddons
0041     KF5::Archive
0042     KF5::ConfigCore)
0043 install(TARGETS kplymouththemeinstaller ${KF_INSTALL_TARGETS_DEFAULT_ARGS})
0044 
0045 #polkit stuff
0046 add_executable(plymouthhelper helper.cpp helper.h)
0047 target_link_libraries(plymouthhelper
0048     KF5::Archive
0049     KF5::AuthCore
0050     KF5::ConfigCore
0051     KF5::I18n)
0052 install(TARGETS plymouthhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
0053 kauth_install_helper_files(plymouthhelper org.kde.kcontrol.kcmplymouth root)
0054 kauth_install_actions(org.kde.kcontrol.kcmplymouth kcmplymouth_actions.actions)