[libhv] update to 1.3.0 (#28105)

* [libhv] update to 1.3.0

* update version
This commit is contained in:
JonLiu1993 2022-12-03 01:11:25 +08:00 committed by GitHub
parent b7422ebaea
commit 1a6e66e7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 28 deletions

View File

@ -1,22 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59e9b41..f0a162e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -215,7 +215,7 @@ list_source_directories(LIBHV_SRCS ${LIBHV_SRCDIRS})
if(BUILD_SHARED)
add_library(hv SHARED ${LIBHV_SRCS})
target_compile_definitions(hv PRIVATE HV_DYNAMICLIB)
- target_include_directories(hv PRIVATE ${LIBHV_SRCDIRS})
+ target_include_directories(hv PRIVATE ${LIBHV_SRCDIRS} INTERFACE $<INSTALL_INTERFACE:include>)
target_link_libraries(hv ${LIBS})
install(TARGETS hv
EXPORT libhvConfig
@@ -228,7 +228,7 @@ endif()
if(BUILD_STATIC)
add_library(hv_static STATIC ${LIBHV_SRCS})
target_compile_definitions(hv_static PRIVATE HV_STATICLIB)
- target_include_directories(hv_static PRIVATE ${LIBHV_SRCDIRS})
+ target_include_directories(hv_static PRIVATE ${LIBHV_SRCDIRS} INTERFACE $<INSTALL_INTERFACE:include>)
target_link_libraries(hv_static ${LIBS})
install(TARGETS hv_static
EXPORT libhvConfig

View File

@ -1,11 +1,9 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO ithewei/libhv REPO ithewei/libhv
REF 8d14d1a6cd4accbda9e081716a59395b523303f6 #v1.2.6 REF 3a67fe506a291ee94ed80bbdd73553fcb6a6b1ef #v1.3.0
SHA512 d40063f2b2f8191965fd4434b80a17f505819a20fd63aefa63c08663d0acc82d086338f0382ab70289dff0417a8ec922f993d36c4007a1a13c7ce34d71018f83 SHA512 3aa341a94950b0d4f3351a6f62a4c34947b481bb59f1954dd8d031313e73d9c6add1017cf386c507b231b114d80cfc0739a50bed179bdbc31052c86e2f1321a3
HEAD_REF master HEAD_REF master
PATCHES
fix-include_header.patch
) )
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)

View File

@ -1,6 +1,6 @@
{ {
"name": "libhv", "name": "libhv",
"version": "1.2.6", "version": "1.3.0",
"description": "Libhv is a C/C++ network library similar to libevent/libuv.", "description": "Libhv is a C/C++ network library similar to libevent/libuv.",
"homepage": "https://github.com/ithewei/libhv", "homepage": "https://github.com/ithewei/libhv",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",

View File

@ -3833,7 +3833,7 @@
"port-version": 0 "port-version": 0
}, },
"libhv": { "libhv": {
"baseline": "1.2.6", "baseline": "1.3.0",
"port-version": 0 "port-version": 0
}, },
"libhydrogen": { "libhydrogen": {

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "4a1197a59a8b7adec8ce11a66ece9d7f72cf0ee8",
"version": "1.3.0",
"port-version": 0
},
{ {
"git-tree": "e382c63e132653ac3e2062b4fa0d182242c4da3a", "git-tree": "e382c63e132653ac3e2062b4fa0d182242c4da3a",
"version": "1.2.6", "version": "1.2.6",