summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2021-01-10 02:23:11 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2021-01-10 02:23:11 +0100
commit70cfeb9bc96fd8b3fa25d2133c2f15bd16103b70 (patch)
tree00cd6f0a58aa9731626d91288c13d96ef9ee25d9
parent251a55dcb4d31821c141583255dc5239b9d06065 (diff)
downloadmariadb-git-70cfeb9bc96fd8b3fa25d2133c2f15bd16103b70.tar.gz
Re-include BSON into CMakeLists.txt
-rw-r--r--storage/connect/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/storage/connect/CMakeLists.txt b/storage/connect/CMakeLists.txt
index 7eedba08bee..f110a1eda04 100644
--- a/storage/connect/CMakeLists.txt
+++ b/storage/connect/CMakeLists.txt
@@ -82,6 +82,19 @@ ENDIF(UNIX)
#
+# BSON: the new handling of JSON data included temporarily for testing
+#
+
+OPTION(CONNECT_WITH_BSON "Compile CONNECT storage engine with BSON support" ON)
+
+IF(CONNECT_WITH_BSON)
+ SET(CONNECT_SOURCES ${CONNECT_SOURCES}
+ bson.cpp bsonudf.cpp tabbson.cpp bson.h bsonudf.h tabbson.h)
+ add_definitions(-DBSON_SUPPORT)
+ENDIF(CONNECT_WITH_BSON)
+
+
+#
# VCT: the VEC format might be not supported in future versions
#