From dd6f34b7f5700c4ae41e0a93137ecc5efcc69482 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Fri, 3 Aug 2018 20:17:09 -0400 Subject: [PATCH] libhsakmt: Fix pkg-config file paths Both the include and libpath were incorrect after recent build system changes. Use the proper GNUInstallDirs definitions in libhsakmt.pc.in to write the proper locations. This is needed for end users building KFDTest, which depends on correct pkg-config information. Change-Id: Ia45f36f054c2a607a77e7ecbcbd9eb7edd067348 Signed-off-by: Felix Kuehling --- libhsakmt.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhsakmt.pc.in b/libhsakmt.pc.in index 01d748bbc6..3093afc8dc 100644 --- a/libhsakmt.pc.in +++ b/libhsakmt.pc.in @@ -1,7 +1,7 @@ prefix=@CPACK_PACKAGING_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${prefix}/lib -includedir=${prefix}/include/libhsakmt +libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: libhsakmt Description: HSA Kernel Mode Thunk library for AMD KFD support