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.
31 lines
782 B
31 lines
782 B
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 "kf${QT_MAJOR_VERSION}/krunner") |
|
target_link_libraries(krunner_services |
|
krunner_services_static |
|
) |
|
|
|
if(BUILD_TESTING) |
|
add_subdirectory(autotests) |
|
endif()
|
|
|