summaryrefslogtreecommitdiff
blob: ab108982c7a5216f095e181aa38646cd24bdb884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- CMakeLists.txt	2013-10-15 11:35:16.688739802 -0400
+++ CMakeLists.txt.new	2013-10-15 11:53:46.185727620 -0400
@@ -115,6 +115,7 @@
 		message("\tPAM Found")
 		set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
 		target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
+		target_link_libraries(libslim ${PAM_LIBRARY})
 		target_link_libraries(slimlock ${PAM_LIBRARY})
 		include_directories(${PAM_INCLUDE_DIR})
 	else(PAM_FOUND)
@@ -173,7 +174,10 @@
 )
 
 target_link_libraries(libslim
-    ${JPEG_LIBRARIES}
+	${RT_LIB}
+	${X11_Xft_LIB}
+	${X11_Xrandr_LIB}
+	${JPEG_LIBRARIES}
 	${PNG_LIBRARIES}
 )