early-access version 2853
This commit is contained in:
28
externals/vcpkg/ports/mvfst/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/mvfst/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO facebookincubator/mvfst
|
||||
REF 7c52380a5c445fe478096d7ca10e92797747ae87
|
||||
SHA512 5ccebec9652e7a481b599b20a07b0d6585d300cdde3e6b62985c5ce448c0890d537bced6c9dbd77009f89c16311c56fde1f2131064ff5cc3fcb34bf69cb11f06
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
# Prefer installed config files
|
||||
file(REMOVE
|
||||
${SOURCE_PATH}/fizz/cmake/FindGMock.cmake
|
||||
${SOURCE_PATH}/fizz/cmake/FindGflags.cmake
|
||||
${SOURCE_PATH}/fizz/cmake/FindGlog.cmake
|
||||
${SOURCE_PATH}/fizz/cmake/FindLibevent.cmake
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mvfst)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
22
externals/vcpkg/ports/mvfst/vcpkg.json
vendored
Executable file
22
externals/vcpkg/ports/mvfst/vcpkg.json
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "mvfst",
|
||||
"version-date": "2022-03-27",
|
||||
"description": "mvfst (Pronounced move fast) is a client and server implementation of IETF QUIC protocol in C++ by Facebook.",
|
||||
"homepage": "https://github.com/facebookincubator/mvfst",
|
||||
"supports": "!windows",
|
||||
"dependencies": [
|
||||
"boost",
|
||||
"fizz",
|
||||
"fmt",
|
||||
"folly",
|
||||
"glog",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user