From 304ab629570ee12865a215d60dc430c58ca8f516 Mon Sep 17 00:00:00 2001 From: Urs Fleisch Date: Sun, 8 Oct 2023 20:12:51 +0200 Subject: [PATCH] Fix building without zlib --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53d1988a..0ca2f2ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)