Use vcpkg libnice and openh264 instead of brew on MacOS

This commit is contained in:
dijunkun
2023-12-05 15:17:00 +08:00
parent 6a6e922fc1
commit 2b0a3938bc

View File

@@ -34,8 +34,8 @@ elseif is_os("linux") then
elseif is_os("macosx") then elseif is_os("macosx") then
add_requires("ffmpeg 5.1.2", {system = false}) add_requires("ffmpeg 5.1.2", {system = false})
add_requires("vcpkg::libnice", {configs = {shared = false}}) add_requires("vcpkg::libnice", {configs = {shared = false}})
add_requires("brew::openh264", {configs = {shared = false}}) add_requires("vcpkg::openh264", {configs = {shared = false}})
add_packages("ffmpeg", "vcpkg::libnice", "brew::openh264") add_packages("ffmpeg", "vcpkg::libnice", "vcpkg::openh264")
add_ldflags("-Wl,-ld_classic") add_ldflags("-Wl,-ld_classic")
end end