b874c391dd3152eda822e5cba48bb8aadf2eedc0
[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 ()