mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 10:46:03 -04:00
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
This commit is contained in:
parent
2d8f4b9c18
commit
4a85c81833
@ -252,7 +252,6 @@ endif ()
|
||||
option(SQLITECPP_INTERNAL_SQLITE "Add the internal SQLite3 source to the project." ON)
|
||||
if (SQLITECPP_INTERNAL_SQLITE)
|
||||
message(STATUS "Compile sqlite3 from source in subdirectory")
|
||||
option(SQLITE_ENABLE_JSON1 "Enable JSON1 extension when building internal sqlite3 library." ON)
|
||||
option(SQLITE_ENABLE_RTREE "Enable RTree extension when building internal sqlite3 library." OFF)
|
||||
# build the SQLite3 C library (for ease of use/compatibility) versus Linux sqlite3-dev package
|
||||
add_subdirectory(sqlite3)
|
||||
|
@ -30,12 +30,6 @@ if (SQLITE_ENABLE_COLUMN_METADATA)
|
||||
target_compile_definitions(sqlite3 PUBLIC SQLITE_ENABLE_COLUMN_METADATA)
|
||||
endif (SQLITE_ENABLE_COLUMN_METADATA)
|
||||
|
||||
if (SQLITE_ENABLE_JSON1)
|
||||
# Enable JSON1 extension when building sqlite3
|
||||
# See more here: https://www.sqlite.org/json1.html
|
||||
target_compile_definitions(sqlite3 PUBLIC SQLITE_ENABLE_JSON1)
|
||||
endif (SQLITE_ENABLE_JSON1)
|
||||
|
||||
if (SQLITE_ENABLE_RTREE)
|
||||
# Enable RTree extension when building sqlite3
|
||||
# See more here: https://sqlite.org/rtree.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user