We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6c1291 commit 6c4cd82Copy full SHA for 6c4cd82
src/core/CMakeLists.txt
@@ -117,6 +117,15 @@ IF (WITH_INTERNAL_SPATIALITE)
117
ADD_DEFINITIONS(-DDLL_EXPORT)
118
ENDIF (WIN32)
119
120
+#
121
+# sqlite3 requires some extraflags to be defined
122
+# in order to support:
123
+# - huge database > 2 GB
124
+# - RTree Spatial Index
125
126
+ ADD_DEFINITIONS(-D_LARGE_FILE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1)
127
+ ADD_DEFINITIONS(-DSQLITE_ENABLE_RTREE=1)
128
+
129
SET(QGIS_CORE_SRCS
130
${QGIS_CORE_SRCS}
131
spatialite/sqlite3.c
0 commit comments