add -lpthread in the MUTTLIBS
authorPierre Habouzit <madcoder@debian.org>
Mon, 14 Jan 2008 15:44:37 +0000 (16:44 +0100)
committerPierre Habouzit <madcoder@debian.org>
Mon, 14 Jan 2008 15:44:37 +0000 (16:44 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
CMakeLists.txt

index e59a517..67544ad 100644 (file)
@@ -25,7 +25,7 @@ SET(PKGDATADIR "${CMAKE_INSTALL_PREFIX}/share/madmutt")
 SET(PKGDOCDIR  "${CMAKE_INSTALL_PREFIX}/share/doc/madmutt")
 SET(SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc")
 SET(VERSION    "devel")
-SET(MUTTLIBS   "")
+SET(MUTTLIBS   "-lpthread")
 
 ADD_DEFINITIONS("-DBINDIR=\\\"${BINDIR}\\\"")
 ADD_DEFINITIONS("-DPKGDATADIR=\\\"${PKGDATADIR}\\\"")