fix CMakeLists.txt to add -lpthread, did not compile boost 1.55
This commit is contained in:
parent
4baedc4838
commit
41533168a9
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue