From 41533168a9a827e8cdc500dfd9a3676afe41e503 Mon Sep 17 00:00:00 2001 From: vertoe Date: Mon, 5 May 2014 19:59:21 +0200 Subject: [PATCH] fix CMakeLists.txt to add -lpthread, did not compile boost 1.55 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69f0ef3eb..705513d66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,7 +96,7 @@ if(MINGW) elseif(APPLE) set(Boost_LIBRARIES "${Boost_LIBRARIES}") elseif(NOT MSVC) - set(Boost_LIBRARIES "${Boost_LIBRARIES};rt") + set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread") endif() set(COMMIT_ID_IN_VERSION ON CACHE BOOL "Include commit ID in version")