aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilian Wolff <mail@milianw.de>2016-08-21 19:45:39 (GMT)
committerMilian Wolff <mail@milianw.de>2016-08-21 19:45:55 (GMT)
commit8f2ca9557aca122f48ca1b40c50125b37d0c1203 (patch)
tree906008976339c7e3f64cfa650d3a086b022f56b2
parent2e553d7fdef0bcba1d8a2063fbdb3378c5e01532 (diff)
Find KI18N in CMake, required for k18n_wrap_ui:
CMake Error at src/kcm/CMakeLists.txt:7 (ki18n_wrap_ui): Unknown CMake command "ki18n_wrap_ui". The above error gets fixed with this patch.
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa3422a..209ccfc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ set(QT_REQUIRED_VERSION "5.6.0")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test WebEngine WebEngineWidgets)
########### Find packages ###########
find_package(KF5KIO ${KF5_VERSION} CONFIG REQUIRED)
+find_package(KF5I18n ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Completion ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Codecs ${KF5_VERSION} CONFIG REQUIRED)
find_package(Grantlee5 "5.1" CONFIG REQUIRED)