mirror of https://github.com/madler/zlib
pkgconfig: install into the lib directory
zlib is a compile library and its .pc file should live in the library directory. This allows a 64bit zlib and a 32bit zlib to co-exist in the same install prefix.
This commit is contained in:
parent
0692a54158
commit
16b1024d6f
|
@ -21,7 +21,7 @@ if (NOT INSTALL_MAN_DIR)
|
|||
set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
|
||||
endif ()
|
||||
if (NOT INSTALL_PKGCONFIG_DIR)
|
||||
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig")
|
||||
set(INSTALL_PKGCONFIG_DIR "${INSTALL_LIB_DIR}/pkgconfig")
|
||||
endif ()
|
||||
|
||||
include(CheckTypeSize)
|
||||
|
|
Loading…
Reference in New Issue