mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Add message output when using 7zip in windows
This commit is contained in:
parent
cb5439cd96
commit
e8e45649d1
@ -2,20 +2,22 @@ INCLUDEPATH += $$PWD
|
|||||||
DEPENDPATH += $$PWD
|
DEPENDPATH += $$PWD
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
!exists (../compressed_archive/lib7zip) {
|
exists (../compressed_archive/lib7zip) {
|
||||||
error(You\'ll need 7zip source code to compile YACReader. \
|
message(Using 7zip)
|
||||||
Please check the compressed_archive folder for further instructions.)
|
} else {
|
||||||
|
error(You\'ll need 7zip source code to compile YACReader. \
|
||||||
|
Please check the compressed_archive folder for further instructions.)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unix {
|
unix {
|
||||||
exists (../compressed_archive/libp7zip) {
|
exists (../compressed_archive/libp7zip) {
|
||||||
message(Found p7zip source code...)
|
message(Found p7zip source code...)
|
||||||
#this is probably only needed in macos
|
#this is probably only needed in macos
|
||||||
system(patch -N -p0 -i libp7zip.patch)
|
system(patch -N -p0 -i libp7zip.patch)
|
||||||
} else {
|
} else {
|
||||||
error(You\'ll need 7zip source code to compile YACReader. \
|
error(You\'ll need 7zip source code to compile YACReader. \
|
||||||
Please check the compressed_archive folder for further instructions.)
|
Please check the compressed_archive folder for further instructions.)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user