Open ty-n-42 opened 1 year ago
This looks like a wrong approach for me. enet is installing the headers already when doing a cmake install, doing this additionally during a configure steps looks very wrong to me.
https://github.com/lsalzman/enet/blob/276ff5ae05a245bcee195af9c9fd002851517d40/CMakeLists.txt#L101
This can probably be closed.
Slightly modified the cake configuration to make it easier to use the library in downstream code: should be able to #include "enet/enet.h" without any special IDE configuration. Also added a copy of enet.h to the build directory (within an include directory) as a small convenience.