From 82afa07a430c43bc122c7325dc67fb9f3ad6216a Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 13 Nov 2018 15:48:46 +0100 Subject: fix issue #3 utempter detection Signed-off-by: gregory guy --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a02cc3e8f..aab7b649f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -604,12 +604,12 @@ if( WITH_UTEMPTER ) find_program( UTEMPTER_HELPER utempter PATHS /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter - /usr/lib/utempter + /usr/lib${LIB_SUFFIX}/utempter /usr/libexec/utempter /usr/libexec /usr/sbin /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter - /usr/local/lib/utempter + /usr/local/lib${LIB_SUFFIX}/utempter /usr/local/libexec/utempter /usr/local/libexec /usr/local/sbin -- cgit v1.2.1