With commit 503bfd5c179b the CMake _IMPORT_PREFIX has been
changed to relative paths. This breaks the paths reflected
by the auto-generated pkgconfig file, as pkgconfig expects
those paths to be absolute.
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
INSTALL_LIB_DIR is set to CMAKE_INSTALL_LIB_DIR, and while CMAKE_INSTALL_PREFIX
is prepended during install [1], this is not the case for the pkg-config
file. Thus, use the full absolute path CMAKE_INSTALL_FULL_LIBDIR for generating
the pkg-config file lib directory variables.
[1] https://gitlab.kitware.com/cmake/cmake/-/issues/20250
Changed library prefix on Windows to lib so VS debugger doesn't conflict with minizip.exe.
Removed _cmd suffix from the minigzip and minizip targets. #451