mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Correct CML to find Boost::thread
This commit is contained in:
@ -146,8 +146,8 @@ if (MSVC)
|
|||||||
else()
|
else()
|
||||||
set(BOOST_INCLUDEDIR ${BOOST_ROOT})
|
set(BOOST_INCLUDEDIR ${BOOST_ROOT})
|
||||||
set(BOOST_LIBRARYDIR ${BOOST_ROOT}/stage/lib)
|
set(BOOST_LIBRARYDIR ${BOOST_ROOT}/stage/lib)
|
||||||
find_package(Boost COMPONENTS coroutine filesystem system REQUIRED)
|
find_package(Boost COMPONENTS coroutine filesystem system thread REQUIRED)
|
||||||
link_libraries(Boost::coroutine Boost::filesystem Boost::system)
|
link_libraries(Boost::coroutine Boost::filesystem Boost::system Boost::thread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
link_directories(${BOOST_ROOT}/stage/lib)
|
link_directories(${BOOST_ROOT}/stage/lib)
|
||||||
|
Reference in New Issue
Block a user