Skip to content
Permalink
Browse files
macOS needs to include spatialindex before geos.
If both are on separate paths and geos is first, case-insensitive macOS will include (geos) spatialIndex.h instead of SpatialIndex.h
  • Loading branch information
telwertowski authored and m-kuhn committed Nov 7, 2017
1 parent 8aa8c30 commit 96a81a95a12081c9d6bf264dc6e5c762358b6f80
Showing 1 changed file with 1 addition and 1 deletion.
@@ -246,11 +246,11 @@ INCLUDE_DIRECTORIES(
network
)
INCLUDE_DIRECTORIES(SYSTEM
${SPATIALINDEX_INCLUDE_DIR} # before GEOS for case-insensitive filesystems
${PROJ_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}
${GDAL_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR}
${SPATIALINDEX_INCLUDE_DIR}
)

#############################################################

0 comments on commit 96a81a9

Please sign in to comment.