Hi, I wanted to have a static only build of `geos` library, but also run unit tests on a compiled static library. Looks like currently tests are linked against shared lib only. However it is relatively easy to make this work in `cmake` by introducing "interface" library with the same name as shared lib target would be and instructing `cmake` to link to `geos-static` in that case.
Change is small and can be viewed here: https://github.com/Kirill888/geos/commit/857372efca8b8e27711b0c85ddf847fc4676b380 Would be nice if someone incorporated that into master. Regards, Kirill
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel