[sqlite3] disable find_package for ICU when SQLITE_ENABLE_ICU is not … (#52613)

This commit is contained in:
William 2026-07-07 19:54:05 +01:00 committed by GitHub
parent cae2989df7
commit 957952f237
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 3 deletions

View File

@ -3,8 +3,8 @@ include(CMakeFindDependencyMacro)
if(NOT WIN32)
find_dependency(Threads)
endif()
if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
find_package(ICU COMPONENTS uc i18n)
if("@SQLITE_ENABLE_ICU@" AND "@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
find_dependency(ICU COMPONENTS uc i18n)
endif()
include(${CMAKE_CURRENT_LIST_DIR}/unofficial-sqlite3-targets.cmake)

View File

@ -1,6 +1,7 @@
{
"name": "sqlite3",
"version": "3.53.3",
"port-version": 1,
"description": "SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.",
"homepage": "https://sqlite.org/",
"license": "blessing",

View File

@ -9666,7 +9666,7 @@
},
"sqlite3": {
"baseline": "3.53.3",
"port-version": 0
"port-version": 1
},
"sqlitecpp": {
"baseline": "3.3.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "022504e4b29ad48d34ccfc241905c12be8d42391",
"version": "3.53.3",
"port-version": 1
},
{
"git-tree": "e25652685566012d0818e1883d31276e413f7845",
"version": "3.53.3",