Commit 6c5166c4 authored by Vitaliy Tomin's avatar Vitaliy Tomin Committed by Sebastien Petitdemange

cmake: use CMAKE_INSTALL_LIBDIR to detect correct libdir

parent 3a142bcc
Pipeline #2321 failed with stages
......@@ -45,7 +45,8 @@ target_link_libraries(lima${NAME} limacore)
target_link_libraries(lima${NAME} ${V4L2_LIB})
limatools_set_library_soversion(lima${NAME} "VERSION")
install(TARGETS lima${NAME} LIBRARY DESTINATION lib)
include(GNUInstallDirs)
install(TARGETS lima${NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
if(LIMA_ENABLE_PYTHON)
limatools_run_sip_for_camera(${NAME})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment