From 61d803b7701f030f5f8e1bf1f0b183056ee4dfc4 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 16 Dec 2021 13:16:20 +0100 Subject: Make Lomiri features configurable at build time --- tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3e03a20..9a72e0e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -34,8 +34,8 @@ add_custom_target ( set (XDG_DATA_DIRS "${CMAKE_CURRENT_BINARY_DIR}/gsettings-schemas") set (SCHEMA_DIR "${XDG_DATA_DIRS}/glib-2.0/schemas") -if(LOMIRI_SCHEMAS_FOUND) - add_definitions ( -DHAS_LOMIRI_SCHEMAS ) +if(ENABLE_LOMIRI_FEATURES) + add_definitions ( -DLOMIRI_FEATURES_ENABLED ) endif() add_definitions(-DSCHEMA_DIR="${SCHEMA_DIR}") @@ -324,7 +324,7 @@ add_test(indicator-test indicator-test ) -if (LOMIRI_API_FOUND AND LOMIRI_SCHEMAS_FOUND) +if (ENABLE_LOMIRI_FEATURES) add_subdirectory(integration) endif() add_subdirectory(dbus-types) -- cgit v1.2.3