Skip to content

Commit

Permalink
spatialite data provider - fixup
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10529 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
esseffe committed Apr 11, 2009
1 parent c6c1291 commit 6c4cd82
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 51 deletions.
9 changes: 9 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ IF (WITH_INTERNAL_SPATIALITE)
ADD_DEFINITIONS(-DDLL_EXPORT)
ENDIF (WIN32)

#
# sqlite3 requires some extraflags to be defined
# in order to support:
# - huge database > 2 GB
# - RTree Spatial Index
#
ADD_DEFINITIONS(-D_LARGE_FILE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1)
ADD_DEFINITIONS(-DSQLITE_ENABLE_RTREE=1)

SET(QGIS_CORE_SRCS
${QGIS_CORE_SRCS}
spatialite/sqlite3.c
Expand Down

0 comments on commit 6c4cd82

Please sign in to comment.