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]
이 커밋은 다음에 포함됨:
Tomasz Kłoczko 작성하고 Kent Russell가 2023-10-11 15:50:38 -04:00를 커밋함
1 부모 7d30e82f41
커밋 3c5a5397fe
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -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