diff --git a/3rdparty/3rdparty.pri b/3rdparty/3rdparty.pri index f0e0b72..5437c78 100644 --- a/3rdparty/3rdparty.pri +++ b/3rdparty/3rdparty.pri @@ -36,19 +36,27 @@ CONFIG(debug, debug|release) { } unix:!macx{ -LIBS += -lfontconfig -lexpat + LIBS += -lfontconfig -lexpat } unix{ CONFIG(debug, debug|release) { - LIBS += -lfreetyped -lpng -lz -lbz2d -lbrotlidec-static -lbrotlienc-static -lbrotlicommon-static + LIBS += -lfreetyped -lpng -lz -lbz2d }else{ - LIBS += -lfreetype -lpng -lz -lbz2 -lbrotlidec-static -lbrotlienc-static -lbrotlicommon-static + LIBS += -lfreetype -lpng -lz -lbz2 } } +macx{ + LIBS += -lbrotlidec-static -lbrotlienc-static -lbrotlicommon-static +} + +unix:!macx{ + LIBS += -lbrotlidec -lbrotlicommon +} + INCLUDEPATH += $$vcpkg_path/include macx{