Use QT_ROOT (patch #3566290)

This commit is contained in:
alqualos 2012-09-10 14:53:57 +00:00
parent b3c422db87
commit 5bb1dfa0ac

View file

@ -10,7 +10,7 @@ include(${QT_USE_FILE})
IF(UNIX)
find_package(ZLIB REQUIRED)
ELSE(UNIX)
SET(ZLIB_INCLUDE_DIRS "Qt/src/3rdparty/zlib" CACHE STRING "Path to ZLIB headers of Qt")
SET(ZLIB_INCLUDE_DIRS "${QT_ROOT}/src/3rdparty/zlib" CACHE STRING "Path to ZLIB headers of Qt")
SET(ZLIB_LIBRARIES "")
IF(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h")
MESSAGE("Please specify a valid zlib include dir")