Skip to content

Commit

Permalink
Add SQLite3 compile option - SQLITE_ENABLE_SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
arasan01 committed Feb 20, 2024
1 parent 13bde2f commit c8f4ad5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ports/sqlite3/portfile.cmake
Expand Up @@ -29,6 +29,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
fts5 SQLITE_ENABLE_FTS5
math SQLITE_ENABLE_MATH_FUNCTIONS
snapshot SQLITE_ENABLE_SNAPSHOT
zlib WITH_ZLIB
INVERTED_FEATURES
tool SQLITE3_SKIP_TOOLS
Expand Down
1 change: 1 addition & 0 deletions ports/sqlite3/sqlite3-vcpkg-config.h.in
Expand Up @@ -13,6 +13,7 @@
#cmakedefine SQLITE_ENABLE_FTS3
#cmakedefine SQLITE_ENABLE_FTS4
#cmakedefine SQLITE_ENABLE_FTS5
#cmakedefine SQLITE_ENABLE_SNAPSHOT
#cmakedefine SQLITE_ENABLE_MEMSYS3
#cmakedefine SQLITE_ENABLE_MEMSYS5
#cmakedefine SQLITE_ENABLE_MATH_FUNCTIONS
Expand Down
3 changes: 3 additions & 0 deletions ports/sqlite3/vcpkg.json
Expand Up @@ -60,6 +60,9 @@
"soundex": {
"description": "Enable the SOUNDEX scalar function"
},
"snapshot": {
"description": "Enable the snapshot functionality for sqlite3"
},
"tool": {
"description": "Build sqlite3 executable",
"supports": "!uwp"
Expand Down

0 comments on commit c8f4ad5

Please sign in to comment.