1
0
Эх сурвалжийг харах

FindZLIB: Add more zlib library names

Account for all names that can be generated by the upstream zlib build
system.

Issue: #18029
Alexander Neumann 6 жил өмнө
parent
commit
4ff3ab2ac9

+ 2 - 2
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})