summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <lueck@hube-lueck.de>2016-09-12 08:02:03 (GMT)
committerBurkhard Lück <lueck@hube-lueck.de>2016-09-12 08:02:03 (GMT)
commitdf41315cc50e2275f83404e20005903d3e3fc3e4 (patch)
tree3133285714441dace5a50fd995a1e299b6ef9c4d
parentd260f55955ce13891a681b34d344157c08445846 (diff)
load translation catalog for kcm + library
-rw-r--r--kcmcddb/CMakeLists.txt2
-rw-r--r--libkcddb/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/kcmcddb/CMakeLists.txt b/kcmcddb/CMakeLists.txt
index b103670..2927912 100644
--- a/kcmcddb/CMakeLists.txt
+++ b/kcmcddb/CMakeLists.txt
@@ -1,3 +1,5 @@
+add_definitions(-DTRANSLATION_DOMAIN="libkcddb")
+
add_subdirectory(doc)
ki18n_wrap_ui(ui_sources cddbconfigwidget.ui)
diff --git a/libkcddb/CMakeLists.txt b/libkcddb/CMakeLists.txt
index 1c6436a..89f8f41 100644
--- a/libkcddb/CMakeLists.txt
+++ b/libkcddb/CMakeLists.txt
@@ -1,3 +1,5 @@
+add_definitions(-DTRANSLATION_DOMAIN="libkcddb")
+
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDES})
if(MUSICBRAINZ5_FOUND)