Bug report #1229
FindGEOS does not detect GEOS.Framework on OSX 10.5
|Affected QGIS version:||Regression?:||No|
|Operating System:||OS X||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11289|
Under Mac OS X 10.5, current version of [trunk/qgis/cmake/[email protected] FindGEOS.cmake] macro does not detect GEOS installed from the excellent GEOS framework v3.0.0-2 package by William Kyngesburye.
I've followed the official BuildingFromSource instructions and cmake command reported that some dependencies are not found, but no specific error for GEOS was printed.
I'm attaching patch with my version of the FindGEOS.cmake macro.
#2 Updated by John Tull about 13 years ago
I can confirm this issue. I've always mapped it manually with:
-D GEOS_INCLUDE_DIR=/Library/Frameworks/GEOS.framework/unix/include -D GEOS_LIBRARY=/Library/Frameworks/GEOS.framework/unix/lib/libgeos.dylib
in my cmake statement. There are some other frameworks I similarly map (proj, gdal, and sqlite).
Using a generic 'cmake ..' run, it is only the geos framework that is not discovered. I am also using William Kyngesburye's frameworks, and this was rev 9104.