Fix finding of zlib for QNX when building with CMake.

This commit is contained in:
Ghislain MARY 2015-10-14 14:59:40 +02:00
parent ec9d484152
commit de86633ab5

View file

@ -41,7 +41,7 @@ if(ZLIB_INCLUDE_DIRS)
endif()
if(ENABLE_STATIC)
if(IOS)
if(IOS OR QNX)
set(_ZLIB_STATIC_NAMES z)
else()
set(_ZLIB_STATIC_NAMES zstatic zlibstatic zlibstaticd)