Skip to content

cmake: Install shared libs #1309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v3_develop
Choose a base branch
from
Open

cmake: Install shared libs #1309

wants to merge 1 commit into from

Conversation

phodina
Copy link

@phodina phodina commented Apr 30, 2025

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 phodina requested a review from moratom April 30, 2025 14:52
@phodina phodina mentioned this pull request Apr 30, 2025
13 tasks
Base automatically changed from v3_cleanup to v3_develop May 18, 2025 18:49
@phodina
Copy link
Author

phodina commented May 21, 2025

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
Copy link
Author

phodina commented May 22, 2025

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

@phodina
Copy link
Author

phodina commented May 26, 2025

@SzabolcsGergely could I ask you for review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants