patch: avoid compile x11 deps on mac

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
This commit is contained in:
ClSlaid 2023-10-30 22:14:57 +08:00
parent e44b25c80f
commit ae524c4d0e
No known key found for this signature in database
GPG Key ID: E0A5F564C51C056E

View File

@ -33,7 +33,6 @@ hbb_common = { path = "../hbb_common" }
parking_lot = {version = "0.12"}
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
x11rb = {version = "0.12", features = ["all-extensions"], optional = true}
rand = {version = "0.8", optional = true}
fuser = {version = "0.13", optional = true}
libc = {version = "0.2", optional = true}