aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb32/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'external/db_drivers/liblmdb32/CMakeLists.txt')
-rw-r--r--external/db_drivers/liblmdb32/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb32/CMakeLists.txt b/external/db_drivers/liblmdb32/CMakeLists.txt
index bca7ff51e..293da1039 100644
--- a/external/db_drivers/liblmdb32/CMakeLists.txt
+++ b/external/db_drivers/liblmdb32/CMakeLists.txt
@@ -30,6 +30,9 @@ if(FREEBSD)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DMDB_DSYNC=O_SYNC")
endif()
+# pass the VL32 flag so that we actually invoke the VL32 extensions
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DVL32")
+
set (lmdb_sources
mdb.c
midl.c)