You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-notificationd-packaging/src/CMakeLists.txt

49 lines
996 B

set(NOTIFICATIONS_SRC
main.cpp
notificationarea.cpp
notification.cpp
notificationlayout.cpp
notificationwidgets.cpp
notifyd.cpp
)
set(NOTIFICATIONS_UI
notification.ui
)
qt5_add_dbus_adaptor(NOTIFICATIONS_SRC
org.freedesktop.Notifications.xml
notifyd.h Notifyd
)
# Translations **********************************
lxqt_translate_ts(NOTIFICATIONS_QM_FILES
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
SOURCES
${NOTIFICATIONS_SRC}
${NOTIFICATIONS_UI}
INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
)
lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME})
#************************************************
add_executable(lxqt-notificationd
${NOTIFICATIONS_SRC}
${NOTIFICATIONS_QM_FILES}
${QM_LOADER}
)
target_link_libraries(lxqt-notificationd
Qt5::Widgets
Qt5::DBus
lxqt
KF5::WindowSystem
)
install(TARGETS
lxqt-notificationd
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
COMPONENT Runtime
)