We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 108a5fe commit eb4d256Copy full SHA for eb4d256
examples/CMakeLists.txt
@@ -3,4 +3,5 @@ set(EXAMPLE_SOURCES echo_server.cpp daytime_client.cpp threadpool.cpp time_clien
3
foreach (examplesource ${EXAMPLE_SOURCES})
4
string(REPLACE ".cpp" "" examplename ${examplesource})
5
add_executable(${examplename} ${examplesource})
6
+ target_link_libraries(${examplename} pthread)
7
endforeach (examplesource ${EXAMPLE_SOURCES})
0 commit comments