CMake: switch minizip casing
[xonotic/netradiant.git] / cmake / FindMinizip.cmake
1 include(FindPkgConfig)
2 if (PKG_CONFIG_FOUND)
3     if (Minizip_FIND_REQUIRED)
4         set(_PACKAGE_ARGS REQUIRED)
5     else ()
6         set(_PACKAGE_ARGS "")
7     endif ()
8     pkg_check_modules(Minizip minizip ${_PACKAGE_ARGS})
9 endif ()