mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00

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
15 lines
386 B
Plaintext
15 lines
386 B
Plaintext
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
sharedlibdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@INSTALL_INC_DIR@
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: Minizip zip file manipulation library
|
|
Version: @VERSION@
|
|
|
|
Requires: zlib
|
|
Libs: -L${libdir} -L${sharedlibdir} -l@PROJECT_NAME@
|
|
Libs.private:@PC_PRIVATE_LIBS@
|
|
Cflags: -I${includedir}
|