[libdatachannel] Fix usage (#18621)

* [libdatachannel] Fix usage

* Update version files
This commit is contained in:
NancyLi1013 2021-07-01 23:25:25 +08:00 committed by GitHub
parent 4a562ffa4b
commit 9e7cb8379e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 2 deletions

View File

@ -34,4 +34,12 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/libdatachannel)
vcpkg_fixup_pkgconfig()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(READ ${CURRENT_PACKAGES_DIR}/share/${PORT}/libdatachannel-config.cmake DATACHANNEL_CONFIG)
file(WRITE ${CURRENT_PACKAGES_DIR}/share/${PORT}/libdatachannel-config.cmake "
include(CMakeFindDependencyMacro)
find_dependency(Threads)
find_dependency(OpenSSL)
find_dependency(libjuice)
${DATACHANNEL_CONFIG}")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "libdatachannel",
"version-semver": "0.12.2",
"port-version": 1,
"description": "libdatachannel is a standalone implementation of WebRTC Data Channels, WebRTC Media Transport, and WebSockets in C++17 with C bindings for POSIX platforms (including GNU/Linux, Android, and Apple macOS) and Microsoft Windows.",
"homepage": "https://github.com/paullouisageneau/libdatachannel",
"dependencies": [

View File

@ -3078,7 +3078,7 @@
},
"libdatachannel": {
"baseline": "0.12.2",
"port-version": 0
"port-version": 1
},
"libdatrie": {
"baseline": "0.2.10-3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a13526e9cfc5bfca3aa00e95afa184b498890f69",
"version-semver": "0.12.2",
"port-version": 1
},
{
"git-tree": "dd3107dd99419236f97e299ce4b61c2379a08f55",
"version-semver": "0.12.2",