--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -94,7 +92,8 @@
 set(LIBRARIES_TO_LINK
   ${FREETYPE_LIBRARIES}
   ${X11_LIBRARIES}
-  Xft)
+  Xft
+  pthread)
 
 # Includes
 include(FindDoxygen)
