diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-18 00:28:08 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-18 00:28:08 +0200 |
commit | 031748a988620274849b78bc4bf592b99e9d6ed7 (patch) | |
tree | d73ec12b07eb4d09616c328114384daf7ddbe999 | |
parent | 36a055f669547bb1e95883a8201a62f4ba58189a (diff) | |
download | VeraCrypt-031748a988620274849b78bc4bf592b99e9d6ed7.tar.gz VeraCrypt-031748a988620274849b78bc4bf592b99e9d6ed7.zip |
Linux: make .deb package compatible with Debian 12
-rw-r--r-- | src/Build/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Build/CMakeLists.txt b/src/Build/CMakeLists.txt index 86e552b5..09f05c89 100644 --- a/src/Build/CMakeLists.txt +++ b/src/Build/CMakeLists.txt @@ -250,9 +250,10 @@ if ( ( PLATFORM STREQUAL "Debian" ) OR ( PLATFORM STREQUAL "Ubuntu" ) ) set( CPACK_DEBIAN_PACKAGE_DEPENDS "libfuse2, dmsetup, sudo" ) else () # Link against gtk3 version of wxWidgets if >= Debian 10 or >= Ubuntu 18.04 # Otherwise, link against gtk2 version of wxWidgets - if ( ( ( PLATFORM STREQUAL "Ubuntu" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "23.04" ) ) ) + if ( ( ( PLATFORM STREQUAL "Debian" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "12" ) ) + OR ( ( 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" ) ) |