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.
2 parents ca8fe05 + f579f9c commit fce9858Copy full SHA for fce9858
CMakeLists.txt
@@ -41,7 +41,7 @@ set_target_properties(colib_shared PROPERTIES VERSION ${LIBCO_VERSION} SOVERSION
41
# Macro for add example target
42
macro(add_example_target EXAMPLE_TARGET)
43
add_executable("example_${EXAMPLE_TARGET}" "example_${EXAMPLE_TARGET}.cpp")
44
- target_link_libraries("example_${EXAMPLE_TARGET}" colib_static)
+ target_link_libraries("example_${EXAMPLE_TARGET}" colib_static pthread dl)
45
endmacro(add_example_target)
46
47
add_example_target(closure)
example_echosvr.cpp
@@ -33,6 +33,7 @@
33
#include <arpa/inet.h>
34
#include <unistd.h>
35
#include <errno.h>
36
+#include <sys/wait.h>
37
38
using namespace std;
39
struct task_t
0 commit comments