diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
commit | f70601e0934acd62f6c5d06c5ede4cc607179514 (patch) | |
tree | 0b337390375de04b950fc4b45edc0f895a4701a4 /kde-plasma/plasma-workspace/files | |
parent | b2be182d49eea46686b5cf2680d457df61e89dc4 (diff) |
gentoo resync : 07.07.2018
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch new file mode 100644 index 000000000000..e26b27e8c3be --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.12.80-tests-optional.patch @@ -0,0 +1,17 @@ +diff --git a/dataengines/notifications/CMakeLists.txt b/dataengines/notifications/CMakeLists.txt +index 8a90cb59..597b3f7e 100644 +--- a/dataengines/notifications/CMakeLists.txt ++++ b/dataengines/notifications/CMakeLists.txt +@@ -46,7 +46,8 @@ ecm_qt_declare_logging_category(notifications_test_SRCS HEADER debug.h + IDENTIFIER NOTIFICATIONS + CATEGORY_NAME kde.dataengine.notifications` + DEFAULT_SEVERITY Info) +- +-add_executable(notification_test ${notifications_test_SRCS}) +-target_link_libraries(notification_test Qt5::Test Qt5::Core) +-ecm_mark_as_test(notification_test) ++if(BUILD_TESTING) ++ add_executable(notification_test ${notifications_test_SRCS}) ++ target_link_libraries(notification_test Qt5::Test Qt5::Core) ++ ecm_mark_as_test(notification_test) ++endif() |