aboutsummaryrefslogtreecommitdiff
path: root/libdino/CMakeLists.txt
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-03-30 10:36:07 -0600
committerMarvin W <git@larma.de>2022-03-30 10:36:07 -0600
commit339d1d8f557e88ef6bb5812980b8988dc8fdf10d (patch)
treebc5c509f7d3ed80cdc6bcb68a7a283dde6d73fba /libdino/CMakeLists.txt
parentc5ed719b665938a59011913e39ce94df63690b40 (diff)
downloaddino-339d1d8f557e88ef6bb5812980b8988dc8fdf10d.tar.gz
dino-339d1d8f557e88ef6bb5812980b8988dc8fdf10d.zip
Fix Version handling, add function to retrieve short version without git commit
Diffstat (limited to 'libdino/CMakeLists.txt')
-rw-r--r--libdino/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/CMakeLists.txt b/libdino/CMakeLists.txt
index ce836f62..20f5ffee 100644
--- a/libdino/CMakeLists.txt
+++ b/libdino/CMakeLists.txt
@@ -89,7 +89,7 @@ DEPENDS
${CMAKE_BINARY_DIR}/exports/dino_i18n.h
)
-add_definitions(${VALA_CFLAGS} -DDINO_SYSTEM_PLUGIN_DIR="${PLUGIN_INSTALL_DIR}" -DDINO_SYSTEM_LIBDIR_NAME="${LIBDIR_NAME}" -DG_LOG_DOMAIN="libdino")
+add_definitions(${VALA_CFLAGS} -DDINO_SYSTEM_PLUGIN_DIR="${PLUGIN_INSTALL_DIR}" -DDINO_SYSTEM_LIBDIR_NAME="${LIBDIR_NAME}" -DG_LOG_DOMAIN="libdino" -DDINO_VERSION=\"${PROJECT_VERSION}\")
add_library(libdino SHARED ${LIBDINO_VALA_C} ${CMAKE_BINARY_DIR}/exports/dino_i18n.h)
add_dependencies(libdino dino-vapi)
target_link_libraries(libdino xmpp-vala qlite ${LIBDINO_PACKAGES} m)