Warning, /plasma/sddm-kcm/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(SDDM_CONFIG_FILE                 "/etc/sddm.conf"                                    CACHE PATH      "Path of the sddm config file")
0002 set(SDDM_CONFIG_DIR                  "/etc/sddm.conf.d"                                  CACHE PATH      "Path of the sddm config directory")
0003 set(SDDM_SYSTEM_CONFIG_DIR           "${CMAKE_INSTALL_PREFIX}/lib/sddm/sddm.conf.d"      CACHE PATH      "Path of the system sddm config directory")
0004 set(XSESSIONS_DIR                    "${CMAKE_INSTALL_PREFIX}/share/xsessions"           CACHE PATH      "Path of the xsessions")
0005 set(WAYLAND_SESSIONS_DIR             "${CMAKE_INSTALL_PREFIX}/share/wayland-sessions"    CACHE PATH      "Path of the wayland sessions")
0006 
0007 configure_file(config.h.in config.h IMMEDIATE @ONLY)
0008 
0009 kcmutils_add_qml_kcm(kcm_sddm)
0010 
0011 target_sources(kcm_sddm PRIVATE
0012     sddmkcm.cpp sddmkcm.h
0013     themesmodel.cpp themesmodel.h
0014     thememetadata.cpp thememetadata.h
0015     usersmodel.cpp usersmodel.h
0016     sessionmodel.cpp sessionmodel.h
0017     sddmdata.cpp sddmdata.h
0018     sddmsettingsbase.cpp sddmsettingsbase.h
0019 )
0020 kconfig_add_kcfg_files(kcm_sddm sddmsettings.kcfgc GENERATE_MOC)
0021 
0022 target_compile_definitions(kcm_sddm PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
0023 target_link_libraries(kcm_sddm PRIVATE
0024     KF6::I18n
0025     KF6::AuthCore
0026     KF6::KCMUtils
0027     KF6::KIOGui
0028     KF6::Service
0029 )