Changeset View
Changeset View
Standalone View
Standalone View
ksmserver/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"ksmserver\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"ksmserver\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include_directories(${PHONON_INCLUDE_DIR}) | | |||
4 | | ||||
5 | check_library_exists(ICE _IceTransNoListen "" HAVE__ICETRANSNOLISTEN) | 3 | check_library_exists(ICE _IceTransNoListen "" HAVE__ICETRANSNOLISTEN) | ||
6 | configure_file(config-ksmserver.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksmserver.h) | 4 | configure_file(config-ksmserver.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksmserver.h) | ||
7 | 5 | | |||
8 | add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII") | 6 | add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII") | ||
9 | add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) | 7 | add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) | ||
10 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 8 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
11 | 9 | | |||
12 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 10 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 42 | target_link_libraries(kdeinit_ksmserver | |||
54 | Qt5::X11Extras | 52 | Qt5::X11Extras | ||
55 | KF5::Solid | 53 | KF5::Solid | ||
56 | Qt5::Quick | 54 | Qt5::Quick | ||
57 | KF5::Declarative | 55 | KF5::Declarative | ||
58 | KF5::DBusAddons | 56 | KF5::DBusAddons | ||
59 | KF5::Notifications | 57 | KF5::Notifications | ||
60 | KF5::Package | 58 | KF5::Package | ||
61 | KF5::WindowSystem | 59 | KF5::WindowSystem | ||
62 | ${PHONON_LIBRARIES} | | |||
63 | Qt5::Concurrent | 60 | Qt5::Concurrent | ||
64 | ) | 61 | ) | ||
65 | 62 | | |||
66 | install(TARGETS kdeinit_ksmserver ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 63 | install(TARGETS kdeinit_ksmserver ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
67 | 64 | | |||
68 | install(TARGETS ksmserver ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 65 | install(TARGETS ksmserver ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
69 | 66 | | |||
70 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/KSMServerDBusInterfaceConfig.cmake | 67 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/KSMServerDBusInterfaceConfig.cmake | ||
71 | DESTINATION ${CMAKECONFIG_INSTALL_DIR}) | 68 | DESTINATION ${CMAKECONFIG_INSTALL_DIR}) | ||
72 | 69 | | |||
73 | 70 | | |||
74 | ########### install files ############### | 71 | ########### install files ############### | ||
75 | 72 | | |||
76 | install( FILES org.kde.KSMServerInterface.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) | 73 | install( FILES org.kde.KSMServerInterface.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) |