Use mbedtls@2 for macOS

This commit is contained in:
Muneeb Ahmed
2021-10-03 11:46:42 -07:00
committed by Adam Honse
parent 970c8d66cd
commit b7200016a4

View File

@@ -1212,12 +1212,19 @@ macx {
serial_port/find_usb_serial_port_linux.cpp \
AutoStart/AutoStart-MacOS.cpp \
# Use mbedtls v2 instead of latest
MBEDTLS_PREFIX = $$system(brew --prefix mbedtls@2)
INCLUDEPATH += \
$$MBEDTLS_PREFIX/include \
LIBS += \
-lusb-1.0 \
-lhidapi \
-lmbedx509 \
-lmbedcrypto \
-lmbedtls \
-L$$MBEDTLS_PREFIX/lib \
}
#-------------------------------------------------------------------------------------------#