Please sign in to comment.
Use FIND_LIBRARY to find GDAL, GEOS and Postgres libraries
On OpenBSD, there's no libgdal.so symlink, only a versioned library (ie libgdal.so.X.Y where X.Y changes over time so is never constant) Using cmake's FIND_LIBRARY allows to let cmake find the library. Without this, the build would fail on OpenBSD: ninja: error: '/usr/local/lib/libgdal.so', needed by 'output/lib/libqgis_core.so.18.0', missing and no known rule to make it
- Loading branch information
Showing with 3 additions and 3 deletions.