diff options
author | Robert Tari <robert@tari.in> | 2021-11-03 22:55:13 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-08 12:47:19 +0100 |
commit | 77f48a545b831f42a8f1e22b81dd242ff57ee23e (patch) | |
tree | 61dabb48173b4f5e2fd76da02328a7460f57a7cf | |
parent | dcef1e0f705fc625039550693f70979e82966582 (diff) | |
download | ayatana-indicator-sound-77f48a545b831f42a8f1e22b81dd242ff57ee23e.tar.gz ayatana-indicator-sound-77f48a545b831f42a8f1e22b81dd242ff57ee23e.tar.bz2 ayatana-indicator-sound-77f48a545b831f42a8f1e22b81dd242ff57ee23e.zip |
Fix missing HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS definition
-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 ) |