mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
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)
16 lines
461 B
PkgConfig
16 lines
461 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
|
includedir=${prefix}/@CMAKE_INSTALL_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@
|