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/integration/CMakeLists.txt | 2 +- tests/integration/indicator-sound-test-base.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt index 97c18b1..3493e18 100644 --- a/tests/integration/CMakeLists.txt +++ b/tests/integration/CMakeLists.txt @@ -1,7 +1,7 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) -if(LOMIRI_API_FOUND) +if(ENABLE_LOMIRI_FEATURES) pkg_check_modules(GMENUHARNESS REQUIRED libgmenuharness REQUIRED) include_directories(${GMENUHARNESS_INCLUDE_DIRS}) endif() diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index 6c64815..3ecd856 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -179,7 +179,7 @@ bool IndicatorSoundTestBase::clearGSettingsPlayers() bool IndicatorSoundTestBase::resetAllowAmplifiedVolume() { -#if HAS_LOMIRI_SCHEMAS +#if LOMIRI_FEATURES_ENABLED QProcess proc; proc.start("gsettings", QStringList() -- cgit v1.2.3