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")