summaryrefslogtreecommitdiff
blob: 3713839d32de7d95d0eb67c00dd5f9c0bd595330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,5 +10,8 @@
 include(KDECompilerSettings NO_POLICY_SCOPE)
 include(ECMQtDeclareLoggingCategory)
 
+# Required for ki18n_install(po) added on tarball generation
+find_package(KF5 REQUIRED COMPONENTS I18n)
+
 add_subdirectory(kpartloader)
 add_subdirectory(kuiviewer)
diff --git a/kpartloader/CMakeLists.txt b/kpartloader/CMakeLists.txt
--- a/kpartloader/CMakeLists.txt
+++ b/kpartloader/CMakeLists.txt
@@ -11,7 +11,6 @@
 find_package(KF5 REQUIRED
     COMPONENTS
     CoreAddons
-    I18n
     Parts
     WidgetsAddons
 )
diff --git a/kuiviewer/CMakeLists.txt b/kuiviewer/CMakeLists.txt
--- a/kuiviewer/CMakeLists.txt
+++ b/kuiviewer/CMakeLists.txt
@@ -15,7 +15,6 @@
     COMPONENTS
     CoreAddons
     KIO
-    I18n
     Parts
 )