Changeset View
Changeset View
Standalone View
Standalone View
ksmserver/policykit-agent/CMakeLists.txt
- This file was added.
1 | add_definitions(-DTRANSLATION_DOMAIN=\"polkit-kde-authentication-agent-1\") | ||||
---|---|---|---|---|---|
2 | | ||||
3 | | ||||
4 | # let our config.h be found first in any case | ||||
5 | include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR}) | ||||
6 | | ||||
7 | include_directories( | ||||
8 | ${POLKITQT-1_INCLUDE_DIR} | ||||
9 | ${CMAKE_CURRENT_SOURCE_DIR} | ||||
10 | ${CMAKE_CURRENT_BINARY_DIR}) | ||||
11 | | ||||
12 | qt5_add_dbus_adaptor(policykit_SRCS org.kde.Polkit1AuthAgent.xml policykitlistener.h PolicyKitListener) | ||||
13 | | ||||
14 | ki18n_wrap_ui(policykit_SRCS AuthDialog.ui authdetails.ui) | ||||
15 | | ||||
16 | set(policykit_SRCS | ||||
17 | ${policykit_SRCS} | ||||
18 | policykitkde.cpp | ||||
19 | policykitlistener.cpp | ||||
20 | AuthDialog.cpp | ||||
21 | ) | ||||
22 | | ||||
23 | add_library(polkit-kde-authentication-agent-1 STATIC ${policykit_SRCS}) | ||||
24 | | ||||
25 | target_link_libraries(polkit-kde-authentication-agent-1 | ||||
26 | KF5::DBusAddons | ||||
27 | KF5::WindowSystem | ||||
28 | KF5::WidgetsAddons | ||||
29 | KF5::CoreAddons | ||||
30 | KF5::I18n | ||||
31 | KF5::Crash | ||||
32 | KF5::IconThemes | ||||
33 | ${POLKITQT-1_LIBRARIES} | ||||
34 | ) | ||||
35 | | ||||
36 | install(FILES policykit1-kde.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR}) |