Open mlauss2 opened 1 year ago
Yeah it's ~mostly for consistency w/ the Flatpak builds (all releases on the same version etc) but build times unfortunately took a bit of an unnecessary hit, I'll have to add some CMake flags to use system libraries for ~some things like libpng/SDL2 where it's probably fine (GameNetworkingSockets though, probably will be forced to always compile because I just Do Not trust distros to keep that consistent, protobuf especially is a nightmare)
Ah, I see. Why not look for system versions of the libraries first, and if their version numbers are lower than the minimum/don't match the tested versions (protobuf, GameNetworkingSockets) build them in-tree (EDIT: now that I'm thinking about it, that's an unnecessary hassle.)
I had to create a few lib->lib64 symlinks in the 3rd party libs to get it to actually link the final binary, but other than that it's great fun to play it once again after 25 years.
Trying to build latest master:
ok, but now:
The above 5 dependencies (as well as sdl2, sdl2_mixer and libpng) are available on the system (as shared libraries), and can geberally be detected by CMake in other projects.
Thanks!