[geos-devel] Small Fix to CMake files for static only builds

Kirill Kouzoubov kirill888 at gmail.com
Tue Mar 26 15:07:27 PDT 2019


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

Change is small and can be viewed here:


Would be nice if someone incorporated that into master.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20190327/32e2d6b4/attachment.html>

More information about the geos-devel mailing list