[logme] Update to 2.4.20 (#52952)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Weihang Ding 2026-07-20 15:00:05 +08:00 committed by GitHub
parent 9e132b87ab
commit a51bb4d143
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,13 @@
diff --git a/logme/CMakeLists.txt b/logme/CMakeLists.txt
index 975d940..087982d 100644
--- a/logme/CMakeLists.txt
+++ b/logme/CMakeLists.txt
@@ -55,7 +55,7 @@ if (LOGME_USE_FMT_FORMAT)
target_link_libraries(logme PUBLIC fmt::fmt)
endif()
if(WIN32)
- target_link_libraries(logme PUBLIC Advapi32)
+ target_link_libraries(logme PUBLIC Advapi32 Ws2_32)
else()
find_package(Threads REQUIRED)
target_link_libraries(logme PUBLIC Threads::Threads ${CMAKE_DL_LIBS})

View File

@ -2,8 +2,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO efmsoft/logme
REF "v${VERSION}"
SHA512 5563c8e5821094e7deb4f508b6666386a760c3ce477a8d6125e21e45d48b0e624d11fe5556add698f2480e78b97285a2b99273240510843d9627bfbb7ef66a11
HEAD_REF master
SHA512 04cedb62185460fcdfe62a163f67391e0d3877108df82589bc579604db883ef3bb068d1a9e48099609ef7fa82d3ddf65c25abf7c81f69a7bc54d40398eadcdd6
HEAD_REF main
PATCHES
fix-windows-static-link.patch
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" _logme_static_opt)

View File

@ -1,6 +1,6 @@
{
"name": "logme",
"version": "2.4.18",
"version": "2.4.20",
"description": "Cross-platform C/C++ logging framework: channels and routing, multiple backends, colored output, and runtime dynamic control.",
"homepage": "https://github.com/efmsoft/logme",
"documentation": "https://github.com/efmsoft/logme/wiki",

View File

@ -6225,7 +6225,7 @@
"port-version": 0
},
"logme": {
"baseline": "2.4.18",
"baseline": "2.4.20",
"port-version": 0
},
"loguru": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7773a9f45636395725ccac8af9564c1b814d4046",
"version": "2.4.20",
"port-version": 0
},
{
"git-tree": "0402bb7086b747eb40192f193bb750402c3d09ba",
"version": "2.4.18",