aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-17 13:40:29 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-17 13:40:38 +0200
commitb28e807d94462770765566ab0d879554da1f2b23 (patch)
tree4c8d60c1b1b52a5c2d4ade4237b5bd7622904a09 /src
parentf6baadaffdb58ba27d585f67680bd7e6172f4444 (diff)
downloadlibayatana-indicator-b28e807d94462770765566ab0d879554da1f2b23.tar.gz
libayatana-indicator-b28e807d94462770765566ab0d879554da1f2b23.tar.bz2
libayatana-indicator-b28e807d94462770765566ab0d879554da1f2b23.zip
{,**/}CMakeLists.txt: Support builds against GTK+-3.0 with IDO support disabled.
Fixes https://github.com/AyatanaIndicators/libayatana-indicator/issues/37
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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