cmake: Fix ZLIB_STATIC errors on Linux

This commit is contained in:
Joshua Scott 2019-01-21 13:15:22 +00:00
parent 0692adfb78
commit 8d1b9c21be
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ unset(_ZLIB_x86)
list(APPEND _ZLIB_SEARCHES _ZLIB_SEARCH_NORMAL) list(APPEND _ZLIB_SEARCHES _ZLIB_SEARCH_NORMAL)
set(ZLIB_NAMES z zlib zdll zlib1) set(ZLIB_NAMES z zlib zdll zlib1)
set(ZLIB_NAMES_STATIC zlibstatic) set(ZLIB_NAMES_STATIC libz.a zlibstatic)
set(ZLIB_NAMES_DEBUG zlibd zlibd1) set(ZLIB_NAMES_DEBUG zlibd zlibd1)
set(ZLIB_NAMES_STATIC_DEBUG zlibstaticd) set(ZLIB_NAMES_STATIC_DEBUG libz.a zlibstaticd)
# Try each search configuration. # Try each search configuration.
foreach(search ${_ZLIB_SEARCHES}) foreach(search ${_ZLIB_SEARCHES})