From 3c589dfd67785bb16ebc628f944b136a51bc46d4 Mon Sep 17 00:00:00 2001 From: Jamie Snape Date: Thu, 1 Feb 2018 10:10:26 -0500 Subject: [PATCH] Fix paths in pkg-config file pkg-config should be giving absolute paths rather than relative paths. --- yaml-cpp.pc.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yaml-cpp.pc.cmake b/yaml-cpp.pc.cmake index 044ef78..3db7962 100644 --- a/yaml-cpp.pc.cmake +++ b/yaml-cpp.pc.cmake @@ -1,5 +1,7 @@ -libdir=@LIB_INSTALL_DIR@ -includedir=@INCLUDE_INSTALL_ROOT_DIR@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +includedir=${prefix}/@INCLUDE_INSTALL_ROOT_DIR@ +libdir=${exec_prefix}/@LIB_INSTALL_DIR@ Name: Yaml-cpp Description: A YAML parser and emitter for C++