This finds the GIF library (giflib)
The module defines the following variables:
GIF_FOUND
GIF_LIBRARIES
GIF_INCLUDE_DIR
GIF_VERSION
The minimum required version of giflib can be specified using the standard syntax, e.g. find_package(GIF 4)
$GIF_DIR is an environment variable that would correspond to the ./configure –prefix=$GIF_DIR
© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.7/module/FindGIF.html