uhd/host/uhd.pc.in
Jakob Kukla ba40e9ab2d cmake: support absolute paths for install dirs in pkg-config
The GNUInstallDirs module supports absolute paths for
CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR. Some package managers
like Nix depend on this behaviour.
See https://github.com/NixOS/nixpkgs/issues/144170 for the nixpkgs
tracking issue.
2025-09-17 12:55:43 +02:00

16 lines
422 B
PkgConfig

prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=@UHD_PC_LIBDIR@
includedir=@UHD_PC_INCLUDEDIR@
Name: @CPACK_PACKAGE_NAME@
Description: @CPACK_PACKAGE_DESCRIPTION_SUMMARY@
URL: https://github.com/EttusResearch/uhd
Version: @CPACK_PACKAGE_VERSION@
Requires:
Requires.private: @UHD_PC_REQUIRES@
Conflicts:
Cflags: -I${includedir} @UHD_PC_CFLAGS@
Libs: -L${libdir} -luhd -lboost_system
Libs.private: @UHD_PC_LIBS@