Skip to content

Commit 96a81a9

Browse files
telwertowskim-kuhn
authored andcommitted
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
1 parent 8aa8c30 commit 96a81a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analysis/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ INCLUDE_DIRECTORIES(
246246
network
247247
)
248248
INCLUDE_DIRECTORIES(SYSTEM
249+
${SPATIALINDEX_INCLUDE_DIR} # before GEOS for case-insensitive filesystems
249250
${PROJ_INCLUDE_DIR}
250251
${GEOS_INCLUDE_DIR}
251252
${GDAL_INCLUDE_DIR}
252253
${SQLITE3_INCLUDE_DIR}
253-
${SPATIALINDEX_INCLUDE_DIR}
254254
)
255255

256256
#############################################################

0 commit comments

Comments
 (0)