blob: 0b4a716e6c9d820c707ec0efad28d8512040b487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/40
From fb42a02230ed5140b3ac3beadb38ca39eb9ea463 Mon Sep 17 00:00:00 2001
From: Craig Andrews <candrews@integralblue.com>
Date: Mon, 22 Jul 2019 17:17:09 -0400
Subject: [PATCH] Use CMAKE_INSTALL_PREFIX in pkgconfig
The location where files are installed is the value to use; the CPACK packaging directory isn't important as the pkgconfig file is used on the system after the package is installed.
---
libhsakmt.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libhsakmt.pc.in b/libhsakmt.pc.in
index 3093afc..1abb66d 100644
--- a/libhsakmt.pc.in
+++ b/libhsakmt.pc.in
@@ -1,4 +1,4 @@
-prefix=@CPACK_PACKAGING_INSTALL_PREFIX@
+prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|