Fix building without zlib

This commit is contained in:
Urs Fleisch
2023-10-08 20:12:51 +02:00
parent 89a54863ee
commit 304ab62957

View File

@ -105,7 +105,7 @@ option(WITH_ZLIB "Build with ZLIB" ON)
if(WITH_ZLIB)
find_package("ZLIB")
set(HAVE_ZLIB ZLIB_FOUND)
set(HAVE_ZLIB ${ZLIB_FOUND})
endif()
if(NOT WIN32)