summaryrefslogtreecommitdiff
path: root/weston-ivi-shell
diff options
context:
space:
mode:
authorRajendraprasad K J <KarammelJayakumar.Rajendraprasad@in.bosch.com>2022-11-08 09:34:31 +0530
committerTran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com>2023-04-03 16:07:39 +0700
commit4cf07f7d8c90a9450d3ff516adc0a7eb805a3878 (patch)
tree5695420e218b2d86f7bdd25e986478c6d6cae45d /weston-ivi-shell
parent2113642587f98e2e4f82e4cb786a5740b555bc45 (diff)
downloadwayland-ivi-extension-4cf07f7d8c90a9450d3ff516adc0a7eb805a3878.tar.gz
CMake: Specify generic library destination for installation
The libraries generated are now installed in lib${LIB_SUFFIX} (lib/lib32/lib64) directory. This doesn't work with Debian as it expects libraries to be present in lib/<multiarch-tuple>. Set the library destination path to 'CMAKE_INSTALL_LIBDIR'. Signed-off-by: Rajendraprasad K J <KarammelJayakumar.Rajendraprasad@in.bosch.com> [Khang: Weston installed its modules to dir_module_weston, then loading modules when run time. It's defined dir_lib/weston. Weston doesn't puclib the variable via pkgconfig. But we can get the dir_lib via WESTON_LIBDIR, then we can install the ivi-modules to that directory] Signed-off-by: Tran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com>
Diffstat (limited to 'weston-ivi-shell')
-rw-r--r--weston-ivi-shell/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/weston-ivi-shell/CMakeLists.txt b/weston-ivi-shell/CMakeLists.txt
index 2eeba66..2868481 100644
--- a/weston-ivi-shell/CMakeLists.txt
+++ b/weston-ivi-shell/CMakeLists.txt
@@ -89,5 +89,5 @@ target_link_libraries(${PROJECT_NAME} ${LIBS})
install (
TARGETS ${PROJECT_NAME}
- LIBRARY DESTINATION lib${LIB_SUFFIX}/weston
+ LIBRARY DESTINATION ${WESTON_LIBDIR}/weston
)