Warning, /plasma/kscreenlocker/greeter/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 remove_definitions(-DTRANSLATION_DOMAIN=\"kscreenlocker\") 0002 add_definitions(-DTRANSLATION_DOMAIN=\"kscreenlocker_greet\") 0003 0004 include_directories( 0005 ${CMAKE_CURRENT_BINARY_DIR} 0006 ${CMAKE_CURRENT_BINARY_DIR}/../ 0007 ) 0008 0009 set(kscreenlocker_authenticator_SRCS 0010 pamauthenticator.cpp 0011 pamauthenticator.h 0012 ) 0013 0014 ecm_qt_declare_logging_category(kscreenlocker_authenticator_SRCS 0015 HEADER kscreenlocker_greet_logging.h 0016 IDENTIFIER KSCREENLOCKER_GREET 0017 CATEGORY_NAME kscreenlocker_greet 0018 DEFAULT_SEVERITY Info 0019 DESCRIPTION "KScreenLocker (greeter)" 0020 EXPORT KSCREENLOCKER 0021 ) 0022 0023 set(kscreenlocker_greet_SRCS 0024 greeterapp.cpp 0025 main.cpp 0026 powermanagement.cpp 0027 noaccessnetworkaccessmanagerfactory.cpp 0028 greeterapp.h 0029 main.cpp 0030 powermanagement.h 0031 noaccessnetworkaccessmanagerfactory.h 0032 ) 0033 0034 add_library(kscreenlocker_authenticator OBJECT ${kscreenlocker_authenticator_SRCS}) 0035 target_link_libraries(kscreenlocker_authenticator 0036 Qt::Core 0037 ${PAM_LIBRARIES} 0038 ) 0039 0040 qt_add_resources(kscreenlocker_greet_SRCS fallbacktheme.qrc) 0041 0042 ecm_add_wayland_client_protocol(kscreenlocker_greet_SRCS 0043 PROTOCOL ../protocols/ksld.xml 0044 BASENAME ksld 0045 ) 0046 0047 add_executable(kscreenlocker_greet ${kscreenlocker_greet_SRCS}) 0048 0049 target_link_libraries(kscreenlocker_greet 0050 settings 0051 kscreenlocker_authenticator 0052 KF5::Package 0053 KF5::Crash 0054 KF5::I18n 0055 KF5::ConfigGui 0056 KF5::Declarative 0057 KF5::KIOCore 0058 KF5::QuickAddons 0059 KF5::WindowSystem 0060 Qt::Quick 0061 Qt::Qml 0062 X11::X11 0063 KF5::WaylandClient 0064 Wayland::Client 0065 LayerShellQt::Interface 0066 KF5::ScreenDpms 0067 ) 0068 if (QT_MAJOR_VERSION EQUAL "5") 0069 target_link_libraries(kscreenlocker_greet Qt5::X11Extras) 0070 else() 0071 target_link_libraries(kscreenlocker_greet Qt::GuiPrivate) 0072 endif() 0073 0074 target_compile_definitions(kscreenlocker_greet PRIVATE 0075 KCHECKPASS_BIN="kcheckpass" 0076 ) 0077 0078 install(TARGETS kscreenlocker_greet DESTINATION ${KDE_INSTALL_LIBEXECDIR}) 0079 0080 install(DIRECTORY themes/org.kde.passworddialog DESTINATION ${KDE_INSTALL_DATADIR}/ksmserver/screenlocker) 0081 0082 add_subdirectory(autotests)