diff options
author | Alexander Neumann <neumann@imt.uni-luebeck.de> | 2019-05-28 09:51:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-28 18:51:45 (GMT) |
commit | 4ff3ab2ac9d0c81c927d25117e5a14cb8ebbbb86 (patch) | |
tree | a32f7e378d2eb2f3039624d32379f316cd90e826 /Modules/FindZLIB.cmake | |
parent | e13b18e2c70f42c23ed7e7fddb93557ce19b7359 (diff) | |
download | CMake-4ff3ab2ac9d0c81c927d25117e5a14cb8ebbbb86.zip CMake-4ff3ab2ac9d0c81c927d25117e5a14cb8ebbbb86.tar.gz CMake-4ff3ab2ac9d0c81c927d25117e5a14cb8ebbbb86.tar.bz2 |
FindZLIB: Add more zlib library names
Account for all names that can be generated by the upstream zlib build
system.
Issue: #18029
Diffstat (limited to 'Modules/FindZLIB.cmake')
-rw-r--r-- | Modules/FindZLIB.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake index 790eb42..79e2313 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}) |