Skip to content

Apple: set rpath to @loader_path#428

Merged
MaxRayskiy merged 1 commit intoMeshInspector:masterfrom
nraynaud:patch-1
Aug 30, 2022
Merged

Apple: set rpath to @loader_path#428
MaxRayskiy merged 1 commit intoMeshInspector:masterfrom
nraynaud:patch-1

Conversation

@nraynaud
Copy link
Contributor

this change allows the python library to be run from everywhere on an apple computer, otherwise the build path is hardcoded in the library path.
This change makes the system try to find the dylib in the same folder as the loader library.

https://dev.my-gate.net/2021/08/04/understanding-rpath-with-cmake/

this change allows the python library to be run from everywhere on an apple computer, otherwise the build path is hardcoded in the library path.
This change makes the system try to find the dylib in the same folder as the loader library.

https://dev.my-gate.net/2021/08/04/understanding-rpath-with-cmake/
@Grantim Grantim requested a review from MaxRayskiy August 30, 2022 07:12
@MaxRayskiy MaxRayskiy merged commit 48a5c09 into MeshInspector:master Aug 30, 2022
@MaxRayskiy
Copy link
Contributor

Nicolas, thank you for your PR!

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