diff options
author | Robert Tari <robert@tari.in> | 2021-10-21 13:02:31 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 21:20:21 +0200 |
commit | b3794cf1c335d7e69cbbfe87e772057ccdd358c6 (patch) | |
tree | ac180c94d95528eae3fe4b4b2379ac1b3d7b7874 /data | |
parent | fd3eb1cca71b46ba5fc30f75ea22fd71df376ef0 (diff) | |
download | ayatana-indicator-notifications-b3794cf1c335d7e69cbbfe87e772057ccdd358c6.tar.gz ayatana-indicator-notifications-b3794cf1c335d7e69cbbfe87e772057ccdd358c6.tar.bz2 ayatana-indicator-notifications-b3794cf1c335d7e69cbbfe87e772057ccdd358c6.zip |
data/CMakeLists.txt: Use intltool_merge_translations instead of execute_process
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 55368ed..2062b10 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -7,8 +7,9 @@ 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") -execute_process (COMMAND intltool-merge -quiet --xml-style --utf8 --no-translations "${SCHEMA_FILE_IN}" "${SCHEMA_FILE}") +intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS) # let GSettings do the rest find_package(GSettings REQUIRED) |