mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2024-11-23 01:39:50 +00:00
328d2d85e8
GNUInstallDirs provided may be absolute paths, in which case appending to the install prefix is not correct. We can instead use the provided CMAKE_INSTALL_FULL_* variables, which are precomputed absolute paths. https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
12 lines
284 B
PkgConfig
12 lines
284 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
|
|
Name: Yaml-cpp
|
|
Description: A YAML parser and emitter for C++
|
|
Version: @YAML_CPP_VERSION@
|
|
Requires:
|
|
Libs: -L${libdir} -lyaml-cpp
|
|
Cflags: -I${includedir}
|