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:
Ben Boeckel 2016-10-20 11:44:01 -04:00
parent 0692a54158
commit 16b1024d6f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ if (NOT INSTALL_MAN_DIR)
set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man") set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
endif () endif ()
if (NOT INSTALL_PKGCONFIG_DIR) if (NOT INSTALL_PKGCONFIG_DIR)
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig") set(INSTALL_PKGCONFIG_DIR "${INSTALL_LIB_DIR}/pkgconfig")
endif () endif ()
include(CheckTypeSize) include(CheckTypeSize)