wok-next view slim/stuff/patches/no-slimlock.patch @ rev 21638

updated fail2ban (0.9.0 -> 0.11.1)
author Hans-G?nter Theisgen
date Fri Jun 26 15:26:10 2020 +0100 (2020-06-26)
parents
children
line source
1 Fixes building without PAM
2 diff --git a/CMakeLists.txt b/CMakeLists.txt
3 index 9892c1d..eb1608b 100644
4 --- a/CMakeLists.txt
5 +++ b/CMakeLists.txt
6 @@ -222,7 +222,9 @@ endif(BUILD_SLIMLOCK)
7 ####### install
8 # slim
9 install(TARGETS slim RUNTIME DESTINATION bin)
10 -install(TARGETS slimlock RUNTIME DESTINATION bin)
11 +if(BUILD_SLIMLOCK)
12 + install(TARGETS slimlock RUNTIME DESTINATION bin)
13 +endif(BUILD_SLIMLOCK)
15 if (BUILD_SHARED_LIBS)
16 set_target_properties(libslim PROPERTIES