aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 22:55:13 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 12:37:00 +0100
commit9ffe8732cf6235e917b11e4575bd790f42454f2a (patch)
treed205a0ec2e694d059e9e925ed51ac34552d98e07 /src
parent85b39c9b481a3fe4d860a7dc47e7aa569e349a1b (diff)
downloadayatana-indicator-sound-9ffe8732cf6235e917b11e4575bd790f42454f2a.tar.gz
ayatana-indicator-sound-9ffe8732cf6235e917b11e4575bd790f42454f2a.tar.bz2
ayatana-indicator-sound-9ffe8732cf6235e917b11e4575bd790f42454f2a.zip
Fix missing HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS definition
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 37074e0..d1f8239 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -11,8 +11,11 @@ if(EXISTS "/usr/share/glib-2.0/schemas/com.lomiri.sound.gschema.xml")
endif()
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.SecurityPrivacy.xml")
+ set (HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS ON)
set (VALA_FILE_ACCTSERVICE_PRIVACY_SETTINGS "accounts-service-privacy-settings")
set (VALA_DEFINE_ACCTSERVICE_PRIVACY_SETTINGS "--define=HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS")
+else()
+ set (HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS OFF)
endif()
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml")
@@ -214,7 +217,7 @@ vala_add(ayatana-indicator-sound-service
accounts-service-sound-settings.vala
)
-if(${HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS})
+if(${HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS})
vala_add(ayatana-indicator-sound-service
accounts-service-system-sound-settings.vala
)