lsalzman / enet

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

CMake: Improve install instructions #244

Closed Croydon closed 7 months ago

Croydon commented 7 months ago

This improves the CMake install instructions. The destination paths should not be hard-coded, but set as variables via GnuInstallDirs.

This is particularly important for package managers like Conan that require files to be installed in a custom directory.

PS: Merging this will make the Conan enet package patch free for the first time. Although other package managers like vcpkg will still carry additional CMake patches for now.