mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
add unarr option to YACReader.pro
This commit is contained in:
parent
9c6469eb12
commit
966ab855a7
@ -174,7 +174,11 @@ SOURCES += ../common/comic.cpp \
|
|||||||
}
|
}
|
||||||
|
|
||||||
include(../custom_widgets/custom_widgets_yacreader.pri)
|
include(../custom_widgets/custom_widgets_yacreader.pri)
|
||||||
|
!CONFIG(unarr){
|
||||||
include(../compressed_archive/wrapper.pri)
|
include(../compressed_archive/wrapper.pri)
|
||||||
|
} else {
|
||||||
|
include(../compressed_archive/unarr/unarr-wrapper.pri)
|
||||||
|
}
|
||||||
include(../shortcuts_management/shortcuts_management.pri)
|
include(../shortcuts_management/shortcuts_management.pri)
|
||||||
|
|
||||||
RESOURCES += yacreader_images.qrc \
|
RESOURCES += yacreader_images.qrc \
|
||||||
@ -202,7 +206,7 @@ TRANSLATIONS = yacreader_es.ts \
|
|||||||
yacreader_de.ts \
|
yacreader_de.ts \
|
||||||
yacreader_source.ts
|
yacreader_source.ts
|
||||||
|
|
||||||
|
!CONFIG(unarr){
|
||||||
win32 {
|
win32 {
|
||||||
!exists (../compressed_archive/lib7zip) {
|
!exists (../compressed_archive/lib7zip) {
|
||||||
error(You\'ll need 7zip source code to compile YACReader. \
|
error(You\'ll need 7zip source code to compile YACReader. \
|
||||||
@ -219,6 +223,12 @@ exists (../compressed_archive/libp7zip) {
|
|||||||
Please check the compressed_archive folder for further instructions.)
|
Please check the compressed_archive folder for further instructions.)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
exists (../compressed_archive/unarr/unarr-master) {
|
||||||
|
message(Found unarr source-code)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
#set install prefix if it's empty
|
#set install prefix if it's empty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user