From cbf17a524ad51bef7fb034ca929f6f0da3fdb611 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 23 Feb 2022 02:28:41 +0100 Subject: Get Lomiri sounds path from lomiri-sounds pkg-config --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b8df4a8..a3eeb2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,8 +79,13 @@ if (ENABLE_LOMIRI_FEATURES) APPEND SERVICE_DEPS lomiri-schemas + lomiri-sounds + ) + pkg_get_variable(LOMIRI_SOUNDSDIR lomiri-sounds soundsdir) + add_definitions ( + -DLOMIRI_FEATURES_ENABLED + -DLOMIRI_SOUNDSDIR="${LOMIRI_SOUNDSDIR}" ) - add_definitions (-DLOMIRI_FEATURES_ENABLED) endif () pkg_check_modules (SERVICE_DEPS REQUIRED ${SERVICE_DEPS}) -- cgit v1.2.3