Skip to content

Commit

Permalink
Merge pull request #123 from dx9/wip-alpine
Browse files Browse the repository at this point in the history
Fix boost thread linking on alpine
  • Loading branch information
zieckey authored Jan 31, 2018
2 parents c870f23 + 06a0ae2 commit 57f685f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions benchmark/throughput/asio_from_chenshuo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
find_package(Boost REQUIRED COMPONENTS system thread)

add_executable(benchmark_tcp_asio_client client.cpp)
target_link_libraries(benchmark_tcp_asio_client boost_system boost_thread pthread)
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 boost_thread pthread)
target_link_libraries(benchmark_tcp_asio_server ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} pthread)

0 comments on commit 57f685f

Please sign in to comment.