Explicitly link to libX11.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 26 Dec 2013 16:56:53 -0500
changeset 20 ca0e1747b708
parent 19 bee74433ed86
child 21 9884f4078c68
Explicitly link to libX11.
CMakeLists.txt
--- a/CMakeLists.txt	Wed Dec 25 21:29:43 2013 -0500
+++ b/CMakeLists.txt	Thu Dec 26 16:56:53 2013 -0500
@@ -123,6 +123,7 @@
     set_target_properties(1pass PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
     target_link_libraries(1pass "m")
     target_link_libraries(1pass "Xtst")
+    target_link_libraries(1pass "X11")
 endif()
 
 # end of CMakeLists.txt ...