Skip to content

Commit

Permalink
修复qmake ubuntu action;
Browse files Browse the repository at this point in the history
  • Loading branch information
RealChuan committed Oct 27, 2023
1 parent becea2d commit 838570a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions 3rdparty/3rdparty.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 838570a

Please sign in to comment.