aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-18 14:34:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-18 14:34:21 +0100
commit9f9c8f1d1421c5259044c09146408a33cd83f669 (patch)
tree422e8c6c2f04e3f3b03375a6b4e36dab987c4b61 /kde-plasma/kde-cli-tools/files
parentkde-plasma/plasma-workspace: Fix build w/o tests (diff)
downloadkde-9f9c8f1d1421c5259044c09146408a33cd83f669.tar.gz
kde-9f9c8f1d1421c5259044c09146408a33cd83f669.tar.bz2
kde-9f9c8f1d1421c5259044c09146408a33cd83f669.zip
kde-plasma/kde-cli-tools: Fix build w/o tests
Thanks-to: Duncan <1i5t5.duncan@cox.net> Closes: https://bugs.gentoo.org/646264 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'kde-plasma/kde-cli-tools/files')
-rw-r--r--kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
new file mode 100644
index 0000000000..11e032847c
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
@@ -0,0 +1,10 @@
+--- a/keditfiletype/CMakeLists.txt 2018-02-14 22:09:07.341549164 -0700
++++ b/keditfiletype/CMakeLists.txt 2018-02-14 23:02:11.126749356 -0700
+@@ -1,4 +1,6 @@
+-add_subdirectory(tests)
++if(BUILD_TESTING)
++ add_subdirectory(tests)
++endif()
+
+ # KI18N Translation Domain for this library
+ add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_filetypes\")