forked from qt-creator/qt-creator
This is taken from https://cmake.org/cmake/help/latest/manual/cmake- developer.7.html#a-sample-find-module And provides three customization points: 1. $package$ - ZLIB 2. $header$.h - zlib.h 3. $library$ - zlib This way users can easily create FindZLIB.cmake find modules which can be easily used as target_link_libraries(my-app PRIVATE ZLIB::ZLIB) Change-Id: Id5143c46ecfde09419d4f43b9a3ff156401a88f9 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>