mirror of https://github.com/SeanOMik/libki.git
cmake: Fix ZLIB_STATIC errors on Linux
This commit is contained in:
parent
0692adfb78
commit
8d1b9c21be
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue