lsalzman / enet

ENet reliable UDP networking library
MIT License
2.71k stars 669 forks source link

Add install to CMakeLists.txt #184

Closed SirLynix closed 4 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.