mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
Add link_directories to cmake
This commit is contained in:
@ -7,6 +7,7 @@ Version 64:
|
||||
* Better User-Agent in examples
|
||||
* async_write requires a non-const message
|
||||
* Doc tidying
|
||||
* Add link_directories to cmake
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -50,6 +50,8 @@ option (Boost_USE_STATIC_LIBS "Use static libraries for boost" ON)
|
||||
set (BOOST_COMPONENTS coroutine context filesystem program_options system thread)
|
||||
find_package (Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||
|
||||
link_directories(${Boost_LIBRARY_DIRS})
|
||||
|
||||
if (MINGW)
|
||||
link_libraries(ws2_32 mswsock)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user