Fix QuaZip find module on macOS and clean up code.

Finding libquazip failed on macOS due to path differences.
This patch also cleans up the find module's code, aligns it
with the coding style of the other CMake files and removes
clutter that is not needed for KeePassXC such as non-Msys
builds on Windows.
This commit is contained in:
Janek Bevendorff 2019-04-27 00:43:43 +02:00 committed by Jonathan White
parent 0f8d2986af
commit 01a3d5b0ba
2 changed files with 23 additions and 40 deletions

View file

@ -46,8 +46,8 @@
#include <QStringBuilder>
#if defined(WITH_XC_KEESHARE_SECURE)
#include <quazip5/quazip.h>
#include <quazip5/quazipfile.h>
#include <quazip.h>
#include <quazipfile.h>
#endif
namespace