From 314d69b01a1c3956ec442b8ee88193e5ab40da83 Mon Sep 17 00:00:00 2001 From: Bartosz Wieczorek Date: Thu, 11 Sep 2025 12:18:08 +0200 Subject: [PATCH] Update version --- CMakeLists.txt | 2 +- PAM/ssh/lib/CMakeLists.txt | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3616ecc..cd38a3b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ include(GNUInstallDirs) set(PROJECT_VERSION_MAJOR 2) set(PROJECT_VERSION_MINOR 3) -set(PROJECT_VERSION_PATCH 2) +set(PROJECT_VERSION_PATCH 3) set(RUBLON_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") set(CMAKE_CXX_STANDARD 17) diff --git a/PAM/ssh/lib/CMakeLists.txt b/PAM/ssh/lib/CMakeLists.txt index 6323987..7800be2 100755 --- a/PAM/ssh/lib/CMakeLists.txt +++ b/PAM/ssh/lib/CMakeLists.txt @@ -50,8 +50,13 @@ elseif(${outOS} MATCHES "opensuse-leap" ) message(INFO " detected suse base system") set(_destination /lib64/security/) elseif(${outOS} MATCHES "debian|ubuntu") - message(INFO " detected debian based system") - set(_destination /usr/lib/x86_64-linux-gnu/security/) + if(CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64") + message(INFO " detected debian arm64 based system") + set(_destination /usr/lib/security/) + else() + message(INFO " detected debian based system") + set(_destination /usr/lib/x86_64-linux-gnu/security/) + endif() endif() install(