mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Handle 7zip source detection and patching in wrapper.pri
This commit is contained in:
parent
67b52d7a57
commit
7f342f8308
@ -1,6 +1,23 @@
|
|||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
DEPENDPATH += $$PWD
|
DEPENDPATH += $$PWD
|
||||||
|
|
||||||
|
win32 {
|
||||||
|
!exists (../compressed_archive/lib7zip) {
|
||||||
|
error(You\'ll need 7zip source code to compile YACReader. \
|
||||||
|
Please check the compressed_archive folder for further instructions.)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
unix {
|
||||||
|
exists (../compressed_archive/libp7zip) {
|
||||||
|
message(Found p7zip source code...)
|
||||||
|
system(patch -N -p0 -i libp7zip.patch)
|
||||||
|
} else {
|
||||||
|
error(You\'ll need 7zip source code to compile YACReader. \
|
||||||
|
Please check the compressed_archive folder for further instructions.)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
CONFIG += precompile_header
|
CONFIG += precompile_header
|
||||||
|
|
||||||
win32 {PRECOMPILED_HEADER = $$PWD/StdAfx.h}
|
win32 {PRECOMPILED_HEADER = $$PWD/StdAfx.h}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user