diff options
author | Rajendraprasad K J <KarammelJayakumar.Rajendraprasad@in.bosch.com> | 2022-11-08 09:34:31 +0530 |
---|---|---|
committer | Tran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com> | 2023-04-03 16:07:39 +0700 |
commit | 4cf07f7d8c90a9450d3ff516adc0a7eb805a3878 (patch) | |
tree | 5695420e218b2d86f7bdd25e986478c6d6cae45d /weston-ivi-shell | |
parent | 2113642587f98e2e4f82e4cb786a5740b555bc45 (diff) | |
download | wayland-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.txt | 2 |
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 ) |