fix CMakeLists.txt to add -lpthread, did not compile boost 1.55
This commit is contained in:
parent
4baedc4838
commit
41533168a9
|
@ -96,7 +96,7 @@ if(MINGW)
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
|
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
|
||||||
elseif(NOT MSVC)
|
elseif(NOT MSVC)
|
||||||
set(Boost_LIBRARIES "${Boost_LIBRARIES};rt")
|
set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(COMMIT_ID_IN_VERSION ON CACHE BOOL "Include commit ID in version")
|
set(COMMIT_ID_IN_VERSION ON CACHE BOOL "Include commit ID in version")
|
||||||
|
|
Loading…
Reference in New Issue