diff options
author | Robert Tari <robert@tari.in> | 2021-10-21 02:07:47 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 11:13:46 +0200 |
commit | 001010d8b5f8dbdf7b4fe57393470f945afef37b (patch) | |
tree | 18435f04203c9228ae4831a013e6bfda01a37c20 | |
parent | e0262a63e16616235a067e479b0f3550f36a22c5 (diff) | |
download | libayatana-common-001010d8b5f8dbdf7b4fe57393470f945afef37b.tar.gz libayatana-common-001010d8b5f8dbdf7b4fe57393470f945afef37b.tar.bz2 libayatana-common-001010d8b5f8dbdf7b4fe57393470f945afef37b.zip |
data/CMakeLists.txt: Use intltool_merge_translations instead of execute_process
-rw-r--r-- | data/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index a8e56ab..317f39d 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,8 +1,9 @@ # org.ayatana.common.gschema.xml -find_package(GSettings) +find_package(Intltool REQUIRED) set(ENV{LC_ALL} "C") -execute_process(COMMAND intltool-merge -quiet --xml-style --utf8 --no-translations "${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.common.gschema.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/org.ayatana.common.gschema.xml") +intltool_merge_translations("${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.common.gschema.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/org.ayatana.common.gschema.xml" ALL UTF8 STYLE "xml" NO_TRANSLATIONS) +find_package(GSettings REQUIRED) set(GSETTINGS_COMPILE ON) add_schema("org.ayatana.common.gschema.xml") |