From b28e807d94462770765566ab0d879554da1f2b23 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 17 May 2021 13:40:29 +0200 Subject: {,**/}CMakeLists.txt: Support builds against GTK+-3.0 with IDO support disabled. Fixes https://github.com/AyatanaIndicators/libayatana-indicator/issues/37 --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d396ed9..84e0383 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,7 +23,7 @@ set(HEADERS indicator-service-manager.h ) -if (FLAVOUR_GTK3) +if (FLAVOUR_GTK3 AND ENABLE_IDO) set(HEADERS ${HEADERS} indicator-ng.h @@ -41,7 +41,7 @@ set(SOURCES indicator-service-manager.c ) -if (FLAVOUR_GTK3) +if (FLAVOUR_GTK3 AND ENABLE_IDO) set(SOURCES ${SOURCES} indicator-ng.c -- cgit v1.2.3