mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[Sqlite3] update to 3.25.2 (#4600)
* [Sqlite3] update to 3.25.2 * [sqlite3] Use vcpkg_extract_source_archive_ex
This commit is contained in:
parent
bed365bfae
commit
a0d6a2925c
@ -1,5 +1,5 @@
|
||||
Source: sqlite3
|
||||
Version: 3.24.0-2
|
||||
Version: 3.25.2
|
||||
Description: SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
|
||||
|
||||
Feature: tool
|
||||
|
@ -1,14 +1,19 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
set(SQLITE_VERSION 3240000)
|
||||
set(SQLITE_HASH c7050bdd33c50b24e8c9fd2409b7bccbdcd8d6f064b435ee34b6c4a4de6283bce2500d4a3aa3821be2069804dff45a575ff331c97b39e02b227ef32e542ed6cb)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/sqlite-amalgamation-${SQLITE_VERSION})
|
||||
set(SQLITE_VERSION 3250200)
|
||||
set(SQLITE_HASH f87b4ab405f85df85b5d63e9e28c4db76202dc2d5461e0d0c626fa7521570d89a1122403c037704859ecb58ac1747ebf4b3c8a2f3a3c3d8492e8060df92e379f)
|
||||
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://sqlite.org/2018/sqlite-amalgamation-${SQLITE_VERSION}.zip"
|
||||
FILENAME "sqlite-amalgamation-${SQLITE_VERSION}.zip"
|
||||
SHA512 ${SQLITE_HASH})
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
SHA512 ${SQLITE_HASH}
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
ARCHIVE ${ARCHIVE}
|
||||
REF ${SQLITE_VERSION}
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user