aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-19 23:05:40 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-21 11:19:26 +0200
commit27ca88b28dbe975d474ed599437e2cce062b2f05 (patch)
tree51ff47a110125a442e1c5270e53e3185148a9cac /data
parent21588e910f8ccae29024bcc1df6af9010a60d00d (diff)
downloadayatana-indicator-session-27ca88b28dbe975d474ed599437e2cce062b2f05.tar.gz
ayatana-indicator-session-27ca88b28dbe975d474ed599437e2cce062b2f05.tar.bz2
ayatana-indicator-session-27ca88b28dbe975d474ed599437e2cce062b2f05.zip
data/CMakeLists.txt: Use native CMake GSettings module
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index dd02205..b0b87ff 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,4 +1,4 @@
-include (UseGSettings)
+find_package(GSettings)
##
## GSettings schema
@@ -12,8 +12,9 @@ set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in")
set (ENV{LC_ALL} "C")
execute_process (COMMAND intltool-merge -quiet --xml-style --utf8 --no-translations "${SCHEMA_FILE_IN}" "${SCHEMA_FILE}")
-# let UseGSettings do the rest
-add_schema (${SCHEMA_FILE})
+# let GSettings do the rest
+set(GSETTINGS_COMPILE ON)
+add_schema (${SCHEMA_NAME})
##
## Systemd Unit File