From e8e45649d1ed1ab7221c3d3b2626ac653f1bba0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Wed, 31 Aug 2022 09:29:11 +0200 Subject: [PATCH] Add message output when using 7zip in windows --- compressed_archive/wrapper.pri | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/compressed_archive/wrapper.pri b/compressed_archive/wrapper.pri index ba544225..e9376921 100644 --- a/compressed_archive/wrapper.pri +++ b/compressed_archive/wrapper.pri @@ -2,20 +2,22 @@ INCLUDEPATH += $$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.) +exists (../compressed_archive/lib7zip) { + message(Using 7zip) +} else { + 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...) - #this is probably only needed in macos - system(patch -N -p0 -i libp7zip.patch) + message(Found p7zip source code...) + #this is probably only needed in macos + 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.) + error(You\'ll need 7zip source code to compile YACReader. \ + Please check the compressed_archive folder for further instructions.) } }