depthai-core icon indicating copy to clipboard operation
depthai-core copied to clipboard

cmake: Install shared libs

Open phodina opened this issue 8 months ago • 3 comments

Purpose

Install depthai shared libraries and other build artifacts into the system using CMake

Also sets correctly the RPATH otherwise it would point to the build dir.

Testing & Validation

Tested on Linux and MacOSX

phodina avatar Apr 30 '25 14:04 phodina

Set and propagate RPATH settings across targets and Python components

  • Ensured BUILD_WITH_INSTALL_RPATH is enabled for correct runtime linking.
  • Added proper RPATH handling to Python bindings and test modules for macOS and Linux to ensure correct runtime library resolution.

phodina avatar May 21 '25 05:05 phodina

@moratom so removed the code regarding the dependencies which is no longer needed. But rest is needed for system install and correct RPATH

phodina avatar May 22 '25 07:05 phodina

@SzabolcsGergely could I ask you for review?

phodina avatar May 26 '25 14:05 phodina