Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Jun 13, 2024
1 parent f022323 commit 5c072a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ jobs:
env:
PKG_CONFIG_PATH: 'C:/msys64/mingw64/lib/pkgconfig'
run: |
$env:PATH += ";C:/msys64/mingw64/bin"
$env:PATH = "C:/msys64/mingw64/bin;" + $env:PATH
qmake
mingw32-make.exe qmake_all
mingw32-make.exe
Expand Down
16 changes: 8 additions & 8 deletions modmanager.pro
Original file line number Diff line number Diff line change
Expand Up @@ -435,16 +435,16 @@ win32 {
LIBS += -ldwmapi

message($$system(printenv PKG_CONFIG_PATH))
message($$system($$pkgConfigExecutable() --define-prefix --cflags libaria2))
message($$system($$pkgConfigExecutable() --define-prefix --libs libaria2))
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --define-prefix --cflags libaria2)
LIBS += $$system($$pkgConfigExecutable() --define-prefix --libs libaria2 | sed 's/\/lib\b/\/bin/' | sed 's/-laria2/-laria2-0/')
message($$system($$pkgConfigExecutable() --cflags libaria2))
message($$system($$pkgConfigExecutable() --libs 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() --define-prefix --cflags quazip1-qt5)
LIBS += $$system($$pkgConfigExecutable() --define-prefix --libs quazip1-qt5)
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags quazip1-qt5)
LIBS += $$system($$pkgConfigExecutable() --libs quazip1-qt5)
}
equals(QT_MAJOR_VERSION, 6){
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --define-prefix --cflags quazip1-qt6)
LIBS += $$system($$pkgConfigExecutable() --define-prefix --libs quazip1-qt6)
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags quazip1-qt6)
LIBS += $$system($$pkgConfigExecutable() --libs quazip1-qt6)
}
}

0 comments on commit 5c072a5

Please sign in to comment.