mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Avoid optional dependencies in zlmediakit. (#37961)
This commit is contained in:
parent
25b12ce9a1
commit
13766fcd12
@ -37,12 +37,14 @@ string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" static ZLMEDIAKIT_CRT_STATIC)
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
openssl ENABLE_OPENSSL
|
||||
openssl CMAKE_REQUIRE_FIND_PACKAGE_OpenSSL
|
||||
mp4 ENABLE_MP4
|
||||
mp4 ENABLE_RTPPROXY
|
||||
mp4 ENABLE_HLS
|
||||
sctp ENABLE_SCTP
|
||||
webrtc ENABLE_WEBRTC
|
||||
INVERTED_FEATURES
|
||||
openssl CMAKE_DISABLE_FIND_PACKAGE_OpenSSL
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
@ -67,6 +69,9 @@ vcpkg_cmake_configure(
|
||||
-DUSE_SOLUTION_FOLDERS=ON
|
||||
-DENABLE_TESTS=OFF
|
||||
-DENABLE_MEM_DEBUG=OFF # only valid on Linux
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_GIT=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_JEMALLOC=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_SDL2=ON
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "zlmediakit",
|
||||
"version-date": "2024-03-30",
|
||||
"port-version": 1,
|
||||
"description": "A high-performance carrier-grade streaming media service framework based on C++11.",
|
||||
"homepage": "https://github.com/ZLMediaKit/ZLMediaKit",
|
||||
"license": "MIT",
|
||||
|
@ -9602,7 +9602,7 @@
|
||||
},
|
||||
"zlmediakit": {
|
||||
"baseline": "2024-03-30",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"zoe": {
|
||||
"baseline": "3.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f84ad2056d32e9ea7bdc07160784c2458c12e15d",
|
||||
"version-date": "2024-03-30",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "1af9543148c012a8e58061be6e613dc28f38d0d5",
|
||||
"version-date": "2024-03-30",
|
||||
|
Loading…
x
Reference in New Issue
Block a user