mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2025-01-21 15:50:01 +01:00
CMAKE_INSTALL_*DIR can be absolute, and in that case ${prefix} should
not be prepended.
See https://github.com/jtojnar/cmake-snips/?tab=readme-ov-file#concatenating-paths-when-building-pkg-config-files
13 lines
314 B
PkgConfig
13 lines
314 B
PkgConfig
prefix="@CMAKE_INSTALL_PREFIX@"
|
|
exec_prefix="${prefix}"
|
|
libdir="@PKG_CONFIG_INSTALL_LIBDIR@"
|
|
includedir="@PKG_CONFIG_INSTALL_INCLUDEDIR@"
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: @PROJECT_DESCRIPTION@
|
|
Version: @PROJECT_VERSION@
|
|
|
|
Requires:
|
|
Libs: -L"${libdir}" -lblake3
|
|
Cflags: -I"${includedir}" @BLAKE3_PKGCONFIG_CFLAGS@
|