From 4cf07f7d8c90a9450d3ff516adc0a7eb805a3878 Mon Sep 17 00:00:00 2001 From: Rajendraprasad K J Date: Tue, 8 Nov 2022 09:34:31 +0530 Subject: 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/. Set the library destination path to 'CMAKE_INSTALL_LIBDIR'. Signed-off-by: Rajendraprasad K J [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) --- weston-ivi-shell/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weston-ivi-shell') 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 ) -- cgit v1.2.1