Add include path so that libusb headers found on OSX.

This commit is contained in:
Jonathan Giles 2022-07-14 16:50:32 -04:00 committed by Rachel Mant
parent 94b62ff924
commit a3d3a2326f
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ else ifneq (, $(findstring cygwin, $(SYS)))
else ifneq (filter, macosx darwin, $(SYS))
SRC += serial_unix.c
LDFLAGS += -framework CoreFoundation
CFLAGS += -I /opt/homebrew/include -I /opt/homebrew/include/libusb-1.0
endif
ifneq ($(HOSTED_BMP_ONLY), 1)