diff --git a/cmake/MapnikExportPkgConfig.cmake b/cmake/MapnikExportPkgConfig.cmake index 4cffd5c71..f12ed57f1 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}/@CMAKE_INSTALL_LIBDIR@ +libdir=${exec_prefix}/@MAPNIK_LIB_DIR@ 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}/@CMAKE_INSTALL_LIBDIR@ +libdir=${exec_prefix}/@MAPNIK_LIB_DIR@ fonts_dir=${prefix}/@FONTS_INSTALL_DIR@ plugins_dir=${prefix}/@PLUGINS_INSTALL_DIR@