Use CMAKE_INSTALL_LIBDIR for libdir in pkg-config files
This commit is contained in:
parent
e7d0b85dbc
commit
0e0aed3bde
1 changed files with 2 additions and 2 deletions
|
@ -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@
|
||||
|
||||
|
|
Loading…
Reference in a new issue