mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
Add link_directories to cmake
This commit is contained in:
@ -7,6 +7,7 @@ Version 64:
|
|||||||
* Better User-Agent in examples
|
* Better User-Agent in examples
|
||||||
* async_write requires a non-const message
|
* async_write requires a non-const message
|
||||||
* Doc tidying
|
* 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)
|
set (BOOST_COMPONENTS coroutine context filesystem program_options system thread)
|
||||||
find_package (Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
find_package (Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||||
|
|
||||||
|
link_directories(${Boost_LIBRARY_DIRS})
|
||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
link_libraries(ws2_32 mswsock)
|
link_libraries(ws2_32 mswsock)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user