From 0e0aed3bde17d1061fdb3257aa39c5d69877ac43 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 19 Jun 2024 19:16:35 +0100 Subject: [PATCH] Use CMAKE_INSTALL_LIBDIR for libdir in pkg-config files --- cmake/MapnikExportPkgConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/MapnikExportPkgConfig.cmake b/cmake/MapnikExportPkgConfig.cmake index e8b69065b..4cffd5c71 100644 --- a/cmake/MapnikExportPkgConfig.cmake +++ b/cmake/MapnikExportPkgConfig.cmake @@ -3,7 +3,7 @@ function(create_pkg_config_file _target _lib_name _description) prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} includedir=${prefix}/include -libdir=${exec_prefix}/lib +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ Name: @_lib_name@ Description: @_description@ @@ -64,7 +64,7 @@ function(create_pkg_config_file_mapnik _lib_name _description) prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} includedir=${prefix}/include -libdir=${exec_prefix}/lib +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ fonts_dir=${prefix}/@FONTS_INSTALL_DIR@ plugins_dir=${prefix}/@PLUGINS_INSTALL_DIR@