From 838570a6196fc4a3b9cbf502f6d5bc573a8cefbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AE=E7=94=9F=E8=8B=A5=E6=A2=A6?= <1070753498@qq.com> Date: Fri, 27 Oct 2023 20:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dqmake=20ubuntu=20action;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/3rdparty.pri | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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{