diff options
Diffstat (limited to 'data/CMakeLists.txt')
-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") |