Skip to content

Commit 4a85c81

Browse files
committed
Remove option SQLITE_ENABLE_JSON1
since the JSON functions and operators are built into SQLite by default, as of SQLite version 3.38.0 (2022-02-22). see issue #425 SQLITE_ENABLE_JSON1 flag does not appear to compile sqlite3 with this option
1 parent 2d8f4b9 commit 4a85c81

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ endif ()
252252
option(SQLITECPP_INTERNAL_SQLITE "Add the internal SQLite3 source to the project." ON)
253253
if (SQLITECPP_INTERNAL_SQLITE)
254254
message(STATUS "Compile sqlite3 from source in subdirectory")
255-
option(SQLITE_ENABLE_JSON1 "Enable JSON1 extension when building internal sqlite3 library." ON)
256255
option(SQLITE_ENABLE_RTREE "Enable RTree extension when building internal sqlite3 library." OFF)
257256
# build the SQLite3 C library (for ease of use/compatibility) versus Linux sqlite3-dev package
258257
add_subdirectory(sqlite3)

sqlite3/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ if (SQLITE_ENABLE_COLUMN_METADATA)
3030
target_compile_definitions(sqlite3 PUBLIC SQLITE_ENABLE_COLUMN_METADATA)
3131
endif (SQLITE_ENABLE_COLUMN_METADATA)
3232

33-
if (SQLITE_ENABLE_JSON1)
34-
# Enable JSON1 extension when building sqlite3
35-
# See more here: https://www.sqlite.org/json1.html
36-
target_compile_definitions(sqlite3 PUBLIC SQLITE_ENABLE_JSON1)
37-
endif (SQLITE_ENABLE_JSON1)
38-
3933
if (SQLITE_ENABLE_RTREE)
4034
# Enable RTree extension when building sqlite3
4135
# See more here: https://sqlite.org/rtree.html

0 commit comments

Comments
 (0)