Use QT_ROOT (patch #3566290)
This commit is contained in:
parent
b3c422db87
commit
5bb1dfa0ac
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue