enet icon indicating copy to clipboard operation
enet copied to clipboard

Updated Cmakelists.txt

Open ty-n-42 opened this issue 3 years ago • 1 comments

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.

ty-n-42 avatar Oct 25 '22 04:10 ty-n-42

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.

Croydon avatar Apr 18 '24 00:04 Croydon