aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGuido Berhoerster <guido+ayatana@berhoerster.name>2021-03-01 19:13:17 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-06-10 09:56:51 +0200
commit808727b9b49328d8e46097fccdd1614de774ed00 (patch)
tree596942f70f2a6a98680e7344afca0d351976c613 /CMakeLists.txt
parent2ea7c4ae2e9c93d698f4d9065ebd5a49904720c6 (diff)
downloadlibayatana-appindicator-808727b9b49328d8e46097fccdd1614de774ed00.tar.gz
libayatana-appindicator-808727b9b49328d8e46097fccdd1614de774ed00.tar.bz2
libayatana-appindicator-808727b9b49328d8e46097fccdd1614de774ed00.zip
Add macros for compile-time version checking
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13d31e9..cd98b4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 3.13)
-project(libayatana-appindicator C)
+project(libayatana-appindicator
+ VERSION 0.5.90
+ LANGUAGES C
+)
set(PROJECT_VERSION "0.5.94")
set(PROJECT_NAME "libayatana-appindicator")
@@ -78,6 +81,8 @@ if (ENABLE_GTKDOC)
endif()
endif()
+add_compile_definitions(APP_INDICATOR_COMPILATION)
+
# Make everything
add_subdirectory(src)