]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
cmake: install .pc file to same location as configure
authorDan Kegel <dank@kegel.com>
Wed, 10 Jun 2020 22:52:31 +0000 (15:52 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 19 Jun 2020 08:14:35 +0000 (10:14 +0200)
CMakeLists.txt

index 80977229945491a31d92362fc5f72a6dd600b8eb..e75f9a1ecf6c36ad4e9280f669bc43f3421afcfd 100644 (file)
@@ -40,7 +40,7 @@ set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation direc
 set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
 set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers")
 set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages")
-set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
+set(INSTALL_PKGCONFIG_DIR "${INSTALL_LIB_DIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
 
 include(CheckTypeSize)
 include(CheckSymbolExists)