Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Jun 11, 2024
1 parent 7a6b27e commit 6c0c269
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modmanager.pro
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ unix {
LIBS += -lKF5WindowSystem
INCLUDEPATH += /usr/include/KF5/KWindowSystem
}
LIBS += -lstdc++
CONFIG += link_pkgconfig
equals(QT_MAJOR_VERSION, 5): PKGCONFIG += libaria2 quazip1-qt5
equals(QT_MAJOR_VERSION, 6): PKGCONFIG += libaria2 quazip1-qt6
Expand All @@ -428,7 +429,9 @@ win32 {
#native blur
LIBS += -ldwmapi

QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags libaria)
message($$system(printenv PKG_CONFIG_PATH))
message($$system($$pkgConfigExecutable() --cflags libaria2))
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags libaria2)
LIBS += $$system($$pkgConfigExecutable() --libs libaria2 | sed 's/\/lib\b/\/bin/' | sed 's/-laria2/-laria2-0/')
equals(QT_MAJOR_VERSION, 5){
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags quazip1-qt5)
Expand Down

0 comments on commit 6c0c269

Please sign in to comment.