GLE icon indicating copy to clipboard operation
GLE copied to clipboard

Provide a way to specify where libgs is

Open ryandesign opened this issue 1 year ago • 2 comments

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.

ryandesign avatar Jul 26 '24 09:07 ryandesign

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.

ryandesign avatar Jul 27 '24 01:07 ryandesign

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.

vlabella avatar Nov 22 '24 19:11 vlabella

closing issue. Assumed fixed with new cmake option

vlabella avatar Oct 06 '25 12:10 vlabella