1 diff -upr slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
2 --- slim-1.3.6.orig/CMakeLists.txt 2013-10-02 16:16:22.000000000 +0300
3 +++ slim-1.3.6/CMakeLists.txt 2013-10-02 16:19:57.000000000 +0300
4 @@ -119,6 +119,7 @@ if(USE_PAM)
7 set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
8 + target_link_libraries(libslim ${PAM_LIBRARY})
9 target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
10 target_link_libraries(slimlock ${PAM_LIBRARY})
11 include_directories(${PAM_INCLUDE_DIR})
12 @@ -178,6 +179,8 @@ include_directories(
15 target_link_libraries(libslim