add_executable(benchmark_tcp_asio_client client.cpp)
target_link_libraries(benchmark_tcp_asio_client boost_system boost_thread pthread)

add_executable(benchmark_tcp_asio_server server.cpp)
target_link_libraries(benchmark_tcp_asio_server boost_system boost_thread pthread)

find_package(Boost REQUIRED COMPONENTS system thread)

add_executable(benchmark_tcp_asio_client client.cpp)
target_link_libraries(benchmark_tcp_asio_client ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} pthread)

add_executable(benchmark_tcp_asio_server server.cpp)
target_link_libraries(benchmark_tcp_asio_server ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} pthread)


Fix boost thread linking on alpine.
Fix boost thread linking on alpine.

Alpine's boost package only provides libboost_thread-mt. Updated CMAKE to use find_package to sort it out.

Signed-off-by: John Coyle <041e4f137e6118fa522bf17ce611874c00389a69@gmail.com>
