need to link with -ldl on Linux when building statically
This commit is contained in:
parent
e55982a892
commit
b05e27f8b1
|
@ -217,6 +217,7 @@ if(MINGW)
|
||||||
elseif(APPLE OR FREEBSD)
|
elseif(APPLE OR FREEBSD)
|
||||||
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
|
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
|
||||||
elseif(NOT MSVC)
|
elseif(NOT MSVC)
|
||||||
|
set(Boost_LIBRARIES "${Boost_LIBRARIES};ld")
|
||||||
#set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
|
#set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue