3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-12 02:05:54 +00:00
2022-03-05 22:41:29 +05:00

32 lines
764 B
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_services\")
set(krunner_services_SRCS
servicerunner.cpp
)
ecm_qt_declare_logging_category(krunner_services_SRCS
HEADER debug.h
IDENTIFIER RUNNER_SERVICES
CATEGORY_NAME org.kde.plasma.runner.services
DEFAULT_SEVERITY Warning)
add_library(krunner_services_static STATIC ${krunner_services_SRCS})
target_link_libraries(krunner_services_static
KF5::CoreAddons
KF5::KIOGui
KF5::I18n
KF5::Notifications
KF5::Runner
KF5::Service
KF5::Activities
)
kcoreaddons_add_plugin(krunner_services SOURCES plugin.cpp INSTALL_NAMESPACE "kf5/krunner")
target_link_libraries(krunner_services
krunner_services_static
)
if(BUILD_TESTING)
add_subdirectory(autotests)
endif()