fix CMakeLists.txt to add -lpthread, did not compile boost 1.55

This commit is contained in:
vertoe 2014-05-05 19:59:21 +02:00
parent 4baedc4838
commit 41533168a9

View file

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