Commit Graph

9 Commits

Author SHA1 Message Date
Martin Braun
732915868a pkg-config: Remove boost_system library from linker flags 2025-09-24 11:35:07 +02:00
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
Martin Braun
6a4a1650aa cmake: Use GNUInstallDirs instead of hand-crafted code
The UHD CMake code re-implemented some of the features of GNUInstallDirs,
which is not necessary (this feature has been available in CMake for
longer than version 3.12). Here, we replace all hand-defined CMake
variables with their equivalents from GNUInstallDirs.

Short table of replacements:

INCLUDE_DIR   -> CMAKE_INSTALL_INCLUDEDIR
RUNTIME_DIR   -> CMAKE_INSTALL_BINDIR
LIBRARY_DIR   -> CMAKE_INSTALL_LIBDIR
UHD_LIB_DIR   -> CMAKE_INSTALL_LIBDIR
LIB_SUFFIX    -> n/a (no longer necessary)
2025-04-30 15:56:11 +02:00
Martin Braun
bd73c26568 pkg-config: Added boost_system 2016-08-11 13:34:06 -07:00
Nicholas Corgan
ede87b71d3 Updated URLs 2015-12-22 10:28:33 -08:00
Josh Blum
31cdaa9feb uhd: fill in other fields of pkg-config file 2011-09-01 11:59:06 -07:00
Josh Blum
ef0ca3b183 Merge branch 'package'
Also tweaked pkg config file

Conflicts:
	host/CMakeLists.txt
2010-07-16 18:29:16 -07:00
Josh Blum
24bd27b90d Reorganized apps dir into utils and examples dir.
The files get installed into the pkg data directory.
2010-03-23 20:44:50 -07:00
Josh Blum
eb7e709b7a moved host code into host directory for clean (unambiguous) top level 2010-02-17 00:41:38 -08:00