slim-1.3.6-fix-libslim-libraries.patch 603 B

1234567891011121314151617181920
  1. --- a/CMakeLists.txt 2013-10-02 16:16:22.000000000 +0300
  2. +++ b/CMakeLists.txt 2013-10-02 16:19:57.000000000 +0300
  3. @@ -119,6 +119,7 @@ if(USE_PAM)
  4. if(PAM_FOUND)
  5. message("\tPAM Found")
  6. set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
  7. + target_link_libraries(libslim ${PAM_LIBRARY})
  8. target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
  9. target_link_libraries(slimlock ${PAM_LIBRARY})
  10. include_directories(${PAM_INCLUDE_DIR})
  11. @@ -178,6 +179,8 @@ include_directories(
  12. )
  13. target_link_libraries(libslim
  14. + ${X11_Xft_LIB}
  15. + ${X11_Xrandr_LIB}
  16. ${JPEG_LIBRARIES}
  17. ${PNG_LIBRARIES}
  18. )