summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-03-10 17:35:52 +0100
committerSlávek Banko <[email protected]>2018-03-10 17:36:06 +0100
commitfbae32bb0465c6a9c7cd40130a1b8e0d6dec0244 (patch)
treed3a05e0e3a492a4e3a2b9786d6a022b954a5f40b
parent1e22a0ce39a4871d42ea8987cc2085bc812fad2f (diff)
downloadtdelibs-fbae32bb0465c6a9c7cd40130a1b8e0d6dec0244.tar.gz
tdelibs-fbae32bb0465c6a9c7cd40130a1b8e0d6dec0244.zip
Add paths to the search for utempter helper
Signed-off-by: Slávek Banko <[email protected]> (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 f3bdc78d5..99da582f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -603,10 +603,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" )