mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2025-01-21 15:50:01 +01:00
- Properly add the install prefix to the libdir and includedir. - Define the prefix once. - Quote paths which may contain whitespace.
13 lines
324 B
PkgConfig
13 lines
324 B
PkgConfig
prefix="@CMAKE_INSTALL_PREFIX@"
|
|
exec_prefix="${prefix}"
|
|
libdir="${prefix}/@CMAKE_INSTALL_LIBDIR@"
|
|
includedir="${prefix}/@CMAKE_INSTALL_INCLUDEDIR@"
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: @PROJECT_DESCRIPTION@
|
|
Version: @PROJECT_VERSION@
|
|
|
|
Requires:
|
|
Libs: -L"${libdir}" -lblake3
|
|
Cflags: -I"${includedir}" @BLAKE3_PKGCONFIG_CFLAGS@
|