Use ZLIB when building with MinGW (patch #24)

This commit is contained in:
alqualos 2015-01-29 18:07:42 +00:00
parent 8acb0a4d89
commit 3df7821638

View file

@ -33,7 +33,7 @@ else()
endif()
# Use system zlib on unix and Qt ZLIB on Windows
IF(UNIX)
IF(UNIX OR MINGW)
find_package(ZLIB REQUIRED)
ELSE(UNIX)
SET(ZLIB_INCLUDE_DIRS "${QT_ROOT}/src/3rdparty/zlib" CACHE STRING "Path to ZLIB headers of Qt")