From b7200016a4f6520e8e61ec5b80ea7fac8d20f22d Mon Sep 17 00:00:00 2001 From: Muneeb Ahmed Date: Sun, 3 Oct 2021 11:46:42 -0700 Subject: [PATCH] Use mbedtls@2 for macOS --- OpenRGB.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenRGB.pro b/OpenRGB.pro index 032b4ec2..d3379bba 100644 --- a/OpenRGB.pro +++ b/OpenRGB.pro @@ -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 \ } #-------------------------------------------------------------------------------------------#