[sqlite-orm] update to 1.9 (#41660)

This commit is contained in:
Jia Yue Hua 2024-10-22 12:37:37 +08:00 committed by GitHub
parent 61b2012839
commit 314700af63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 23 deletions

View File

@ -1,16 +0,0 @@
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 945d275..8ca2de4 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -162,6 +162,11 @@ if (MSVC)
# C4458: declaration of 'symbol' hides class member
/wd4458)
endif()
+ if (CMAKE_CXX_FLAGS MATCHES "/D_UNICODE")
+ # explicitly set the entry point of the executable file,
+ # otherwise for some reason the linker will not pick up `wmain`, which is provided by the static Catch2 library
+ target_link_options(unit_tests PRIVATE "/ENTRY:wmainCRTStartup")
+ endif()
endif()
target_precompile_headers(unit_tests PRIVATE

View File

@ -3,12 +3,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fnc12/sqlite_orm
REF v1.8.2
SHA512 65479c02246d96bfa0a6a5ed749e15650e71114c1145d17bd48f1a57560c9f494148253064f720dd43773ac9971a85635c9d4927f3b336590188339b3d656b33
REF "v${VERSION}"
SHA512 a9a31b534d9374364672d698a1d08ba3d0b2c06d91a3fc38c3fcf73eb2efc272f118bb05c5b4ea720ceac01f54ee02debd86de31cad645001ed2b8db943ebe33
HEAD_REF master
PATCHES
fix-dependency.patch
fix-uwp.patch #https://github.com/fnc12/sqlite_orm/pull/1295
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,7 +1,6 @@
{
"name": "sqlite-orm",
"version": "1.8.2",
"port-version": 2,
"version": "1.9",
"description": "SQLite ORM light header only library for modern C++",
"homepage": "https://github.com/fnc12/sqlite_orm",
"license": "AGPL-3.0-or-later OR MIT",

View File

@ -8573,8 +8573,8 @@
"port-version": 0
},
"sqlite-orm": {
"baseline": "1.8.2",
"port-version": 2
"baseline": "1.9",
"port-version": 0
},
"sqlite3": {
"baseline": "3.46.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "199d90fac299fcdcb22eaaeb3aaceea4490da339",
"version": "1.9",
"port-version": 0
},
{
"git-tree": "bcff94e1b22d04049a76d0a46dc0fbda9ca5bae7",
"version": "1.8.2",