aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 14:11:45 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-13 09:13:03 +0200
commit5482074a1dbbb006e7abcc552dbf6c3590bb60ef (patch)
tree25896213e9a9dda25b389043c2b631a0f18811e6 /data/CMakeLists.txt
parent4e1ed14b9fab0deed93b45f8ff65cef6921e11ea (diff)
downloadayatana-indicator-power-5482074a1dbbb006e7abcc552dbf6c3590bb60ef.tar.gz
ayatana-indicator-power-5482074a1dbbb006e7abcc552dbf6c3590bb60ef.tar.bz2
ayatana-indicator-power-5482074a1dbbb006e7abcc552dbf6c3590bb60ef.zip
data/: Fix translation of .gschema.xml file.
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index e269b30..c445b3c 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -3,13 +3,6 @@
##
set (SCHEMA_NAME "org.ayatana.indicator.power.gschema.xml")
-set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}")
-set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in")
-
-# generate the .xml file using intltool
-find_package(Intltool REQUIRED)
-set (ENV{LC_ALL} "C")
-intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS)
# let GSettings do the rest
find_package(GSettings REQUIRED)