From 8e0988139aa78db19ad41594b7935016399fc44f Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 24 Nov 2021 09:58:10 +0100 Subject: Check for lomiri-schemas package instead of individual files --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fc630f..3370b06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,12 +81,7 @@ if(URLDISPATCHER_FOUND) endif() pkg_check_modules(LOMIRI_SOUNDS lomiri-sounds) - -if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml") - set (HAS_LOMIRI_ACCTSERVICE_SOUND ON) -else() - set (HAS_LOMIRI_ACCTSERVICE_SOUND OFF) -endif() +pkg_check_modules(LOMIRI_SCHEMAS lomiri-schemas) ## ## custom targets -- cgit v1.2.3