On Fri, Nov 15, 2024 at 2:45 AM Andrius Merkys wrote: > find_package(ZLIB REQUIRED) > Resulting CMakeCache.txt does not contain neither > ZLIB_INCLUDE_DIRS nor ZLIB_LIBRARIES.
Those are not expected to be in the cache. FindZLIB sets them as normal variables that are available to the caller of `find_package(ZLIB)`. The cache should have entries corresponding to individual zlib artifacts, such as `ZLIB_INCLUDE_DIR` and `ZLIB_LIBRARY_RELEASE` -Brad

