зеркало из https://github.com/microsoft/vcpkg.git
[trantor] Update to 1.2.0 (#15841)
* [trantor] Update to 1.2.0 * Add versions file
This commit is contained in:
Родитель
c997738435
Коммит
496f9e4fa4
|
@ -1,5 +1,5 @@
|
|||
Source: trantor
|
||||
Version: 1.1.1
|
||||
Version: 1.2.0
|
||||
Homepage: https://github.com/an-tao/trantor
|
||||
Description: A non-blocking I/O cross-platform TCP network library, using C++14.
|
||||
Build-Depends: openssl, c-ares
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO an-tao/trantor
|
||||
REF v1.1.1
|
||||
SHA512 525316b88a96acc90cf21aa0d6dc74ccbeb1bf55dda39cd6fb0344f3672e61db37621614d742666fd54c28448e0fbc4cedebda10cadb97a225be9481a6fbd9e2
|
||||
REF v1.2.0
|
||||
SHA512 2d94ef174642c81e1db62621ae8bc98a5b439f90437af4fa0ab67d09646bb04847b07a8be305331807dad4ef9244b06636ef471ce9da15ce23fc8bed4ff1d9e2
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
vcpkg.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d164667..e75b869 100755
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -90,6 +90,9 @@ if(c-ares_FOUND)
|
||||
message(STATUS "c-ares found!")
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE c-ares_lib)
|
||||
set(TRANTOR_SOURCES ${TRANTOR_SOURCES} trantor/net/inner/AresResolver.cc)
|
||||
+ if(APPLE)
|
||||
+ target_link_libraries(${PROJECT_NAME} PRIVATE resolv)
|
||||
+ endif()
|
||||
else()
|
||||
set(TRANTOR_SOURCES ${TRANTOR_SOURCES} trantor/net/inner/NormalResolver.cc)
|
||||
endif()
|
|
@ -5841,7 +5841,7 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"trantor": {
|
||||
"baseline": "1.1.1",
|
||||
"baseline": "1.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"tre": {
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "af52c9e7b3dd398e61ef6ea0a34a48cdcfce7f42",
|
||||
"version-string": "1.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "0df63258899007bb9f8fa2027ab3f0b3a3807251",
|
||||
"version-string": "1.1.1",
|
||||
|
|
Загрузка…
Ссылка в новой задаче