install .pc files in libdir

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 <kloczek@github.com>
Change-Id: Ibbc85ad4aee1ef014c409dfa63313873b590464b


[ROCm/ROCR-Runtime commit: a226542fc3]
Tá an tiomantas seo le fáil i:
Tomasz Kłoczko údaraithe agus Kent Russell tiomanta 2023-10-11 15:50:38 -04:00
1 tuismitheoir 7d30e82f41
tiomantas 3c5a5397fe
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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