aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-22 09:56:27 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-22 09:56:27 +0200
commitbde82da22bd3d0d53c1596a6933706a9a56b4947 (patch)
tree07a905ff02c5f5e58ebf3d87f2a444ad1e1ded9e
parent99649c51f2c197c1223a204aa9c30b3f6b9c930d (diff)
downloadlibayatana-indicator-bde82da22bd3d0d53c1596a6933706a9a56b4947.tar.gz
libayatana-indicator-bde82da22bd3d0d53c1596a6933706a9a56b4947.tar.bz2
libayatana-indicator-bde82da22bd3d0d53c1596a6933706a9a56b4947.zip
CMakeLists.txt: Don't build GTK2 flavour against GTK3.
-rw-r--r--CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b92a3c..cfd3bfc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,10 +40,21 @@ endif()
set(DEPS
glib-2.0>=2.37
- gtk+-3.0>=3.24
gmodule-2.0
gio-unix-2.0
)
+if (FLAVOUR_GTK3)
+ set(DEPS
+ ${DEPS}
+ gtk+-3.0>=3.24
+ )
+endif()
+if (FLAVOUR_GTK2)
+ set(DEPS
+ ${DEPS}
+ gtk+-2.0>=2.18
+ )
+endif()
if (FLAVOUR_GTK3 AND ENABLE_IDO)
set(DEPS