Use better variables for the pkg-config file
The previous version created problems when setting manually CMAKE_INSTALL_LIBDIR on configure, e.g. for OBS/Debian packages.
The `libdir` value ended up as `libdir=${exec_prefix}//usr/lib` in this case, leading pkg-config to complain (obviously).
This commit is contained in:
parent
2d95852bcb
commit
57eb4ca87a
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
prefix=@CMAKE_INSTALL_PREFIX@
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||||
|
|
||||||
Name: @PROJECT_NAME@
|
Name: @PROJECT_NAME@
|
||||||
Description: @PROJECT_DESCRIPTION@
|
Description: @PROJECT_DESCRIPTION@
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue