Fix .pc paths for absolute GNUInstallDirs (#1058)
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
This commit is contained in:
parent
4564d9a131
commit
328d2d85e8
@ -1,7 +1,7 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
|
||||
Name: Yaml-cpp
|
||||
Description: A YAML parser and emitter for C++
|
||||
|
Loading…
Reference in New Issue
Block a user