diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-08 12:42:02 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-08 12:42:02 +0100 |
commit | 4714c1f0c5364219ec926caef48d5b7e9a9920b4 (patch) | |
tree | d205a0ec2e694d059e9e925ed51ac34552d98e07 | |
parent | 85b39c9b481a3fe4d860a7dc47e7aa569e349a1b (diff) | |
parent | 9ffe8732cf6235e917b11e4575bd790f42454f2a (diff) | |
download | ayatana-indicator-sound-4714c1f0c5364219ec926caef48d5b7e9a9920b4.tar.gz ayatana-indicator-sound-4714c1f0c5364219ec926caef48d5b7e9a9920b4.tar.bz2 ayatana-indicator-sound-4714c1f0c5364219ec926caef48d5b7e9a9920b4.zip |
Merge branch 'tari01-pr/fix-missing-privacy-setting-definition'
Attributes GH PR #49: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/49
-rw-r--r-- | src/CMakeLists.txt | 5 |
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 ) |