summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-03-10 17:35:52 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-03-10 17:36:47 +0100
commitcb69a491e913cb3897fd6fd4ee0328e7e57a0fd4 (patch)
tree8d1556ac4aa6406dcf8a1b4eb1e6d869b450115b
parent6c68e92d38a3aeb7a4b05165efe55bd7918c4f75 (diff)
downloadtdelibs-cb69a491e913cb3897fd6fd4ee0328e7e57a0fd4.tar.gz
tdelibs-cb69a491e913cb3897fd6fd4ee0328e7e57a0fd4.zip
Add paths to the search for utempter helper
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 98ba18d0fc275af53746782e36f0b71d667f591d)
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f79200d6..7a284a9ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -586,10 +586,12 @@ if( WITH_UTEMPTER )
/usr/lib/utempter
/usr/libexec/utempter
/usr/libexec
+ /usr/sbin
/usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
/usr/local/lib/utempter
/usr/local/libexec/utempter
/usr/local/libexec
+ /usr/local/sbin
)
if( UTEMPTER_HELPER )
message( STATUS "Looking for utempter helper - found" )