From fe2c2d173600ec4ec0e997ba2c643de99ccb8033 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 [ROCm/ROCR-Runtime commit: dd6f34b7f5700c4ae41e0a93137ecc5efcc69482] --- projects/rocr-runtime/libhsakmt.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/libhsakmt.pc.in b/projects/rocr-runtime/libhsakmt.pc.in index 01d748bbc6..3093afc8dc 100644 --- a/projects/rocr-runtime/libhsakmt.pc.in +++ b/projects/rocr-runtime/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