ab67b39257
In 'libobs/CMakeLists.txt', use '${CMAKE_INSTALL_LIBDIR}' instead of '${CMAKE_INSTALL_PREFIX}/lib', as the latter results into 'libobs.pc' being installed under '/lib' when '/lib64' would be more appropriate. In 'libobs/libobs.pc.in', use '@CMAKE_INSTALL_FULL_LIBDIR@' for 'libdir', '@CMAKE_INSTALL_FULL_INCLUDEDIR@' for 'includedir', and '@CMAKE_INSTALL_PREFIX@' for 'prefix'. Gentoo-Bug: https://bugs.gentoo.org/644538
12 lines
270 B
PkgConfig
12 lines
270 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: libobs
|
|
Description: OBS Studio Library
|
|
Version: @OBS_VERSION@
|
|
Requires: x11
|
|
Cflags: -I${includedir}
|
|
Libs: -L${libdir} @PRIVATE_LIBS@
|