VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-05-18 21:22:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-05-18 21:22:24 +0200
commit0fdf2edda77242dbb0fe168197e2aadb402146d1 (patch)
tree3245625040463479875b6d22b17bda575e012b70
parent49de3de994dc5f4ad2dd070dc7159a226c7e7879 (diff)
downloadVeraCrypt-0fdf2edda77242dbb0fe168197e2aadb402146d1.tar.gz
VeraCrypt-0fdf2edda77242dbb0fe168197e2aadb402146d1.zip
Linux: Fix .deb package compatibility with Ubuntu 23.04
-rw-r--r--src/Build/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Build/CMakeLists.txt b/src/Build/CMakeLists.txt
index 24c37df9..5ab84271 100644
--- a/src/Build/CMakeLists.txt
+++ b/src/Build/CMakeLists.txt
@@ -251,7 +251,11 @@ if ( ( PLATFORM STREQUAL "Debian" ) OR ( PLATFORM STREQUAL "Ubuntu" ) )
else ()
# Link against gtk3 version of wxWidgets if >= Debian 10 or >= Ubuntu 18.04
# Otherwise, link against gtk2 version of wxWidgets
- if ( ( ( PLATFORM STREQUAL "Debian" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "10" ) )
+ if ( ( ( PLATFORM STREQUAL "Ubuntu" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "23.04" ) ) )
+
+ set( CPACK_DEBIAN_PACKAGE_DEPENDS "libwxgtk3.2-1, libayatana-appindicator3-1, libfuse2, dmsetup, sudo" )
+
+ elseif ( ( ( PLATFORM STREQUAL "Debian" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "10" ) )
OR ( ( PLATFORM STREQUAL "Ubuntu" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "18.04" ) ) )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "libwxgtk3.0-gtk3-0v5, libayatana-appindicator3-1, libfuse2, dmsetup, sudo" )