[sqlcipher] Add fts5 support (#30573)

* [sqlcipher] Add fts5 support

* update version

* update feature

* update version
This commit is contained in:
JonLiu1993 2023-04-03 11:42:34 +08:00 committed by GitHub
parent 69efe9cc2d
commit d84a3ade16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 4 deletions

View File

@ -37,6 +37,11 @@ if(WITH_JSON1)
add_compile_definitions(SQLITE_ENABLE_JSON1)
endif()
if(WITH_FTS5)
add_compile_definitions(SQLITE_ENABLE_FTS5)
endif()
target_include_directories(sqlcipher INTERFACE $<INSTALL_INTERFACE:include>)
if(NOT WIN32)
find_package(Threads REQUIRED)

View File

@ -49,10 +49,11 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION "${SOURCE_PATH}")
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
geopoly WITH_GEOPOLY
json1 WITH_JSON1
geopoly WITH_GEOPOLY
json1 WITH_JSON1
fts5 WITH_FTS5
INVERTED_FEATURES
tool SQLITE3_SKIP_TOOLS
tool SQLITE3_SKIP_TOOLS
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,7 @@
{
"name": "sqlcipher",
"version": "4.5.3",
"port-version": 1,
"description": "SQLCipher extends the SQLite database library to add security enhancements that make it more suitable for encrypted local data storage.",
"homepage": "https://www.zetetic.net/sqlcipher",
"license": null,
@ -18,6 +19,9 @@
}
],
"features": {
"fts5": {
"description": "enable FTS5 functionality for sqlite3"
},
"geopoly": {
"description": "enable geopoly functionality for sqlite3"
},

View File

@ -7538,7 +7538,7 @@
},
"sqlcipher": {
"baseline": "4.5.3",
"port-version": 0
"port-version": 1
},
"sqlite-modern-cpp": {
"baseline": "3.2-936cd0c8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1debf9d86243c81b196302225f7c382958240a30",
"version": "4.5.3",
"port-version": 1
},
{
"git-tree": "2cbeeef2ddd185d1b41197c8b8abd6fbf0646047",
"version": "4.5.3",