summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/ktp-common-internals/files/ktp-common-internals-tests-optional.patch20
1 files changed, 1 insertions, 19 deletions
diff --git a/kde-apps/ktp-common-internals/files/ktp-common-internals-tests-optional.patch b/kde-apps/ktp-common-internals/files/ktp-common-internals-tests-optional.patch
index 43431732cc9..7dfc9b1dbaf 100644
--- a/kde-apps/ktp-common-internals/files/ktp-common-internals-tests-optional.patch
+++ b/kde-apps/ktp-common-internals/files/ktp-common-internals-tests-optional.patch
@@ -1,6 +1,6 @@
--- a/CMakeLists.txt 2015-01-20 21:49:46.354302243 +0100
+++ b/CMakeLists.txt 2015-01-21 01:45:39.660978780 +0100
-@@ -10,10 +10,9 @@
+@@ -10,6 +10,5 @@
cmake_policy(SET CMP0002 OLD)
find_package (Qt5 REQUIRED CONFIG COMPONENTS
@@ -8,21 +8,3 @@
- Test)
+ Qml)
--find_package (KF5 REQUIRED COMPONENTS
-+find_package (KF5 REQUIRED COMPONENTS
- CoreAddons
- Notifications
- KIO
-@@ -101,7 +100,11 @@
- add_subdirectory(KTp)
- add_subdirectory(tools)
- add_subdirectory(data)
--add_subdirectory(tests)
-+
-+if(BUILD_TESTING)
-+ find_package(Qt5Test REQUIRED CONFIG)
-+ add_subdirectory(tests)
-+endif()
-
- if (OTR_LIBS_FOUND)
- include_directories (${LIBOTR_INCLUDE_DIR}