OCaml 4.14.0 rebuild
[arch-packages.git] / slim / trunk / slim-1.3.6-fix-libslim-libraries.patch
blobb6c90f9f46e371a3f6768dbb96d3cbf53cb3b822
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)
5 if(PAM_FOUND)
6 message("\tPAM Found")
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
16 + ${X11_Xft_LIB}
17 + ${X11_Xrandr_LIB}
18 ${JPEG_LIBRARIES}
19 ${PNG_LIBRARIES}