From 8e3ffc9ce0503c9163c5446aa089982d53bbc899 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 26 Dec 2013 16:56:53 -0500 Subject: [PATCH] Explicitly link to libX11. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b223b9..3ce59c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,6 +123,7 @@ if(LINUX) 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 ...