From c172929201b6f1299c69ebe35813467265f50d22 Mon Sep 17 00:00:00 2001 From: Kasper Peeters Date: Thu, 11 Apr 2024 22:07:03 +0100 Subject: [PATCH] Add version number to generated AppImages. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3be5501347..84c83933aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -452,6 +452,7 @@ if(APPIMAGE_MODE) endif() add_custom_target(appimage COMMAND ./${DEPLOY} --appdir AppDir --desktop-file AppDir/usr/share/applications/science.cadabra.cadabra2-gtk.desktop --output appimage + COMMAND mv Cadabra_2-${CMAKE_SYSTEM_PROCESSOR}.AppImage Cadabra_${CADABRA_VERSION_MAJOR}.${CADABRA_VERSION_MINOR}.${CADABRA_VERSION_PATCH}_${CMAKE_SYSTEM_PROCESSOR}.AppImage ) endif()