From de86633ab5b78308adc4681bec7428b67d2d9e89 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 14 Oct 2015 14:59:40 +0200 Subject: [PATCH] Fix finding of zlib for QNX when building with CMake. --- cmake/FindZlib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindZlib.cmake b/cmake/FindZlib.cmake index 3a0935f76..17b2d1e39 100644 --- a/cmake/FindZlib.cmake +++ b/cmake/FindZlib.cmake @@ -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)