Skip to content
Permalink
Browse files

put spatialindex header directory in front of GEOS

  • Loading branch information
jef-n committed Nov 9, 2011
1 parent eda69e6 commit b9d26e44b1a587ea2c95912d783d7385f28a349a
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/core/CMakeLists.txt
@@ -404,10 +404,12 @@ INCLUDE_DIRECTORIES(
${GDAL_INCLUDE_DIR}
)

# put SPATIALINDEX include dir in front
# (otherwise GEOS's spatialite.h might be found first)
IF (NOT WITH_INTERNAL_SPATIALINDEX)
INCLUDE_DIRECTORIES(${SPATIALINDEX_INCLUDE_DIR})
INCLUDE_DIRECTORIES(BEFORE ${SPATIALINDEX_INCLUDE_DIR})
ELSE (NOT WITH_INTERNAL_SPATIALINDEX)
INCLUDE_DIRECTORIES(spatialindex/include)
INCLUDE_DIRECTORIES(BEFORE spatialindex/include)
ENDIF (NOT WITH_INTERNAL_SPATIALINDEX)

IF (NOT WITH_INTERNAL_SPATIALITE)

0 comments on commit b9d26e4

Please sign in to comment.
You can’t perform that action at this time.