mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 19:09:06 +00:00
FindZLIB: Find static libraries from upstream zlib's cmake-based build
Upstream zlib commit `74247f0947` (CMake: Install libs with static and debug suffix., 2024-11-30) added suffix `s` to static library names.
This commit is contained in:
parent
0181fb4cc5
commit
b2c059e68f
@ -153,8 +153,8 @@ unset(_ZLIB_x86)
|
||||
list(APPEND _ZLIB_SEARCHES _ZLIB_SEARCH_NORMAL)
|
||||
|
||||
if(ZLIB_USE_STATIC_LIBS)
|
||||
set(ZLIB_NAMES zlibstatic zlibstat zlib z)
|
||||
set(ZLIB_NAMES_DEBUG zlibstaticd zlibstatd zlibd zd)
|
||||
set(ZLIB_NAMES zs zlibstatic zlibstat zlib z)
|
||||
set(ZLIB_NAMES_DEBUG zsd zlibstaticd zlibstatd zlibd zd)
|
||||
else()
|
||||
set(ZLIB_NAMES z zlib zdll zlib1 zlibstatic zlibwapi zlibvc zlibstat)
|
||||
set(ZLIB_NAMES_DEBUG zd zlibd zdlld zlibd1 zlib1d zlibstaticd zlibwapid zlibvcd zlibstatd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user