Commit 73e18a30 authored by Jonathan Riddell's avatar Jonathan Riddell 🏄

Fix build in Kubuntu and Debian where headers are in /usr/include/quazip and...

Fix build in Kubuntu and Debian where headers are in /usr/include/quazip and library is called quazip-qt5
parent cf948ccf
......@@ -7,8 +7,8 @@ if(QUAZIP_INCLUDE_DIR AND QUAZIP_LIBRARIES)
else(QUAZIP_INCLUDE_DIR AND QUAZIP_LIBRARIES)
if(QT5BUILD)
find_path(QUAZIP_INCLUDE_DIR NAMES quazip.h PATH_SUFFIXES quazip5)
find_library(QUAZIP_LIBRARIES NAMES quazip5)
find_path(QUAZIP_INCLUDE_DIR NAMES quazip.h PATH_SUFFIXES quazip5 quazip)
find_library(QUAZIP_LIBRARIES NAMES quazip5 quazip-qt5)
else(QT5BUILD)
find_path(QUAZIP_INCLUDE_DIR NAMES quazip.h PATH_SUFFIXES quazip)
find_library(QUAZIP_LIBRARIES NAMES quazip)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment