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(