From 3c5a5397fee8a1e0bb5e0112a8bcdb55b7d52085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Wed, 4 Oct 2023 09:01:16 +0000 Subject: [PATCH] install .pc files in libdir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provided pkgconfig file contains interface description which is arch dependent. In such cases .pc files should be installed in libdir. Signed-off-by: Tomasz Kłoczko Change-Id: Ibbc85ad4aee1ef014c409dfa63313873b590464b [ROCm/ROCR-Runtime commit: a226542fc3c06d559a19a6e97c68817bd8d9190b] --- projects/rocr-runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/CMakeLists.txt b/projects/rocr-runtime/CMakeLists.txt index e3b9085449..1263efbcca 100644 --- a/projects/rocr-runtime/CMakeLists.txt +++ b/projects/rocr-runtime/CMakeLists.txt @@ -285,7 +285,7 @@ endif() # TODO: Add support for relocatable packages. configure_file ( libhsakmt.pc.in libhsakmt.pc @ONLY ) -install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/libhsakmt.pc DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig COMPONENT devel) +install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/libhsakmt.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT devel) ########################### # Packaging directives