lsalzman / enet

ENet reliable UDP networking library
MIT License
2.77k stars 673 forks source link

Add install to CMakeLists.txt #184

Closed SirLynix closed 7 months ago

SirLynix commented 2 years ago

Currently CMakeLists.txt lacks any installation instruction, which is a bit annoying when you wish to install it in system folders (using make install), this PR fixes that.

SirLynix commented 2 years ago

Just so you know, I added enet to xmake-repo (the package manager of xmake) and had to patch CMakeLists.txt to fix static-only compilation and installation. Theses changes are part of this PR.