summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-17 16:32:09 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-17 16:32:09 (GMT)
commit953e832b6d364f85e62ad481b466fece6cc2c0ba (patch)
tree61276552a18a09eae647e3cba472a71efc97b3d1
parent41a46ee8003891977794625c6040710dc384d896 (diff)
Load Marble translations
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/CMakeLists.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b5f99c..491b281 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,7 @@ include(ECMGeneratePriFile)
include(ECMPackageConfigHelpers)
include(ECMSetupVersion)
include(ECMMarkNonGuiExecutable)
+include(ECMPoQmTools)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ea5159e..801c036 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -55,6 +55,9 @@ ecm_generate_headers(kgeomap_CamelCase_HEADERS
REQUIRED_HEADERS kgeomap_HEADERS
)
+# Marble translations need explicit loading
+ecm_create_qm_loader(widget_LIB_SRCS marble_qt)
+
add_library(KF5KGeoMap SHARED ${widget_LIB_SRCS})
add_library(KF5::KGeoMap ALIAS KF5KGeoMap)