Provide a way to specify where libgs is
You look for libgs in a variety of locations varying depending on the OS:
https://github.com/vlabella/GLE/blob/97cf2ca024ef9a12abf6fe6024439faf0c82a0e8/src/gui/qgslibloader.cpp#L295-L310
but on any OS those locations are not necessarily where libgs is actually located. Please provide a CMake option to specify where libgs is actually located and then use that at runtime.
In fact I bet there's a CMake find_package incantation that could locate libgs for you or could be overridden by the user in the usual way if desired; then you just tell qgslibloader.cpp to load libgs from that location.
Option EXTRA_GSLIB_SEARCH_LOCATION has been added to the cmake file to specify extra search location in src/gui/qgslibloader.cpp. it needs testing.
closing issue. Assumed fixed with new cmake option