fix(build): allow vendored opus to configure under CMake 4 (#1763)

This commit is contained in:
Will Pfleger
2026-07-12 12:25:51 -04:00
committed by GitHub
parent 2c41e9e6b8
commit 6cab6e6438
+6
View File
@@ -3,3 +3,9 @@
# builds and much faster macOS link. Need lldb locals? Override per-shell:
# CARGO_PROFILE_DEV_DEBUG=2
debug = "line-tables-only"
[env]
# CMake 4 (pinned by hermit) removed compat with projects declaring
# cmake_minimum_required < 3.5; audiopus_sys's vendored opus declares 3.1.
# Same workaround CI uses. A value already set in the environment wins.
CMAKE_POLICY_VERSION_MINIMUM = "3.5"