Skip to content

Commit

Permalink
macOS needs to include spatialindex before geos.
Browse files Browse the repository at this point in the history
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 96a81a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)

#############################################################
Expand Down

0 comments on commit 96a81a9

Please sign in to comment.