[geos-devel] [GEOS] #937: geos/.h files not available in framework Headers
GEOS
geos-trac at osgeo.org
Sat Oct 20 10:30:56 PDT 2018
#937: geos/.h files not available in framework Headers
-----------------------------------+---------------------------
Reporter: xzcvczx | Owner: geos-devel@…
Type: defect | Status: closed
Priority: minor | Milestone:
Component: Build/Install (cmake) | Version: 3.6.2
Severity: Unassigned | Resolution: invalid
Keywords: |
-----------------------------------+---------------------------
Comment (by kyngchaos):
different frameworks in the GDAL stack have different behaviors for how
headers are expected to be included. Some have a subfolder, so they work
as framework includes, like GEOS. Some do not have a subfolder, so they
need a -I flag, like PROJ.
It's OK to always use -I on the Headers folder, it doesn't interfere with
framework includes. This is more portable to other systems. And even if
you are writing Mac-only software, it's safer because you may have
external sources that expect unix-style includes.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/937#comment:9>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list