The library install path is hard coded which gets in the way of
enabling multiarch.
Fix this by respecting the standard CMAKE variable used to specify
library install location. This variable gets used during package
building to install the package to multiarch aware location.
Gbp-Pq: Name 0002-src-CMakeLists.txt-Enable-multiarch-for-the-library.patch
TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}-targets
RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib)
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(
FILES ${PROTO_HDRS} ${CMAKE_SOURCE_DIR}/include/vitis/ai/target_factory.hpp
DESTINATION include/vitis/ai)