lsalzman / enet

ENet reliable UDP networking library
MIT License
2.66k stars 667 forks source link

Updated Cmakelists.txt #212

Open ty-n-42 opened 1 year ago

ty-n-42 commented 1 year ago

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.

Croydon commented 3 months 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.