diff --git a/CMakeLists.txt b/CMakeLists.txt index 132d3b0..37fec63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,7 +92,7 @@ else() endif() if(WITH_ZLIB) - find_package(zlib REQUIRED) + find_package(ZLIB REQUIRED) add_definitions(-DZLIB) if(ZLIB_INCLUDE_DIRS) # CMake 3