aboutsummaryrefslogtreecommitdiff
path: root/main/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 /main/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 'main/CMakeLists.txt')
-rw-r--r--main/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index e052785a..2326253c 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -212,7 +212,7 @@ OPTIONS
${MAIN_EXTRA_OPTIONS}
)
-add_definitions(${VALA_CFLAGS} -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\" -DDINO_VERSION=\"${PROJECT_VERSION}\")
+add_definitions(${VALA_CFLAGS} -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\")
add_executable(dino ${MAIN_VALA_C} ${MAIN_GRESOURCES_TARGET} src/emojichooser.c)
add_dependencies(dino ${GETTEXT_PACKAGE}-translations)
target_include_directories(dino PRIVATE src)