Add support for Intel i801 SMBus on MacOS

This commit is contained in:
Shady Nawara 2022-05-31 00:59:07 +00:00 committed by Adam Honse
parent 524675108d
commit e9c382d2e6
6 changed files with 204 additions and 2 deletions

View file

@ -1616,12 +1616,23 @@ macx:contains(QMAKE_HOST.arch, arm64) {
#-------------------------------------------------------------------------------------------#
macx:contains(QMAKE_HOST.arch, x86_64) {
INCLUDEPATH += \
dependencies/macUSPCIO \
/usr/local/include \
/usr/local/homebrew/include \
SOURCES += \
i2c_smbus/i2c_smbus_i801.cpp \
HEADERS += \
dependencies/macUSPCIO/macUSPCIOAccess.h \
i2c_smbus/i2c_smbus_i801.h \
LIBS += \
-L/usr/local/lib \
-L/usr/local/homebrew/lib \
DEFINES += \
_MACOSX_X86_X64 \
}
DISTFILES += \