Added .enabled() back to the meson.build for libusb, because it's still required for libusb in builds

This commit is contained in:
specialfred453@gmail.com 2025-01-11 13:15:57 -05:00
parent a25574b132
commit 2df8f895c2
1 changed files with 1 additions and 1 deletions

View File

@ -2129,7 +2129,7 @@ if not get_option('usb_redir').auto() or have_system
endif
libusb = not_found
if not get_option('libusb').auto() or have_system
libusb = dependency('libusb-1.0', required: get_option('libusb'),
libusb = dependency('libusb-1.0', required: get_option('libusb').enabled(),
version: '>=1.0.13', method: 'pkg-config')
endif