mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-04 16:22:52 +08:00
Specify full path to Windows find.exe, so GNU find is never used.
Argument to @contains()@ is @enabled@, not @-m64@, otherwise it will always return true.
This commit is contained in:
@@ -35,8 +35,9 @@ win32:contains(QMAKE_TARGET.arch, x86) {
|
||||
}
|
||||
|
||||
win32-g++ {
|
||||
MINGW = $$system($$QMAKE_CXX -Q --help=target | find \"-m64\")
|
||||
contains(MINGW,-m64) {
|
||||
WIN_FIND = $$(SYSTEMROOT)\system32\find
|
||||
MINGW64 = $$system($$QMAKE_CXX -Q --help=target | $$WIN_FIND \"-m64\")
|
||||
contains(MINGW64,enabled) {
|
||||
LIBS *= -L$$EXTERNALDIR/mingw64/lib
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user