1From 2f931baf290477b586309189445bf87e3bc5d5ba Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 2 Mar 2022 14:51:13 +0800
4Subject: [PATCH] Fix pkgconfig dir for multilib
5
6Upstream-Status: Pending
7
8Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9---
10 CMakeLists.txt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index ab399a69..beae6eaf 100644
15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt
17@@ -637,7 +637,7 @@ endif()
18 # create pkg-config file
19 if(NOT WIN32)
20         configure_file(${VSOMEIP_NAME}.pc.in ${PROJECT_BINARY_DIR}/${VSOMEIP_NAME}.pc @ONLY)
21-        install(FILES ${PROJECT_BINARY_DIR}/${VSOMEIP_NAME}.pc DESTINATION lib/pkgconfig)
22+        install(FILES ${PROJECT_BINARY_DIR}/${VSOMEIP_NAME}.pc DESTINATION ${INSTALL_LIB_DIR}/pkgconfig)
23 endif()
24
25 ##############################################################################
26--
272.25.1
28
29