Skip to content
  • Brad King's avatar
    FindZLIB: Search under ZLIB_ROOT if it is set · 985dee4f
    Brad King authored
    
    
    Perform multiple separate searches in order.  If ZLIB_ROOT is set search
    it exclusively so it takes precedence over CMAKE_PREFIX_PATH.  This
    allows a user to provide -DZLIB_ROOT=/path/to/zlib/prefix on the CMake
    command line to tell it exactly where to find zlib.  Otherwise fall back
    to a normal search.
    
    Inspired-by: default avatarAndreas Schneider <asn@cryptomilk.org>
    985dee4f