dermesser / libsocket

The ultimate socket library for C and C++, supporting TCP, UDP and Unix sockets (DGRAM and STREAM) on Linux, FreeBSD, Solaris. See also my uvco library for a refreshed version!
https://borgac.net/~lbo/doc/libsocket/
Other
797 stars 195 forks source link

Fix relative include paths in CMake #43

Closed thirtythreeforty closed 7 years ago

thirtythreeforty commented 7 years ago

This fixes the build when including libsocket as an add_subdirectory() dependency in a larger project. Previously, the CMake script would always include from the top of the build tree. Now, it includes from the directory that libsocket is actually building in.

dermesser commented 7 years ago

Thank you!