From 4ff3ab2ac9d0c81c927d25117e5a14cb8ebbbb86 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 28 May 2019 05:51:11 -0400 Subject: FindZLIB: Add more zlib library names Account for all names that can be generated by the upstream zlib build system. Issue: #18029 --- Modules/FindZLIB.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Modules/FindZLIB.cmake') diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake index 790eb423cf..79e2313d5a 100644 --- a/Modules/FindZLIB.cmake +++ b/Modules/FindZLIB.cmake @@ -67,8 +67,8 @@ set(_ZLIB_SEARCH_NORMAL unset(_ZLIB_x86) list(APPEND _ZLIB_SEARCHES _ZLIB_SEARCH_NORMAL) -set(ZLIB_NAMES z zlib zdll zlib1) -set(ZLIB_NAMES_DEBUG zlibd zlibd1) +set(ZLIB_NAMES z zlib zdll zlib1 zlibstatic) +set(ZLIB_NAMES_DEBUG zd zlibd zdlld zlibd1 zlib1d zlibstaticd) # Try each search configuration. foreach(search ${_ZLIB_SEARCHES}) -- cgit v1.2.1