From 7a86758edb233ae496387f65f9f291b6a1eace70 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Thu, 11 Feb 2016 22:23:57 +0100 Subject: [PATCH] cmake: Fix libnghttp2.pc paths Must be absolute instead of relative --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d435512e..184dd2cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -468,8 +468,8 @@ set(abs_top_builddir "${CMAKE_BINARY_DIR}") # libnghttp2.pc (pkg-config file) set(prefix "${CMAKE_INSTALL_PREFIX}") set(exec_prefix "${CMAKE_INSTALL_PREFIX}") -set(libdir "${CMAKE_INSTALL_LIBDIR}") -set(includedir "${CMAKE_INSTALL_INCLUDEDIR}") +set(libdir "${CMAKE_INSTALL_FULL_LIBDIR}") +set(includedir "${CMAKE_INSTALL_FULL_INCLUDEDIR}") set(VERSION "${PACKAGE_VERSION}") # For init scripts and systemd service file set(bindir "${CMAKE_INSTALL_FULL_BINDIR}")