Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Spiros Tsalikis
VTK
Commits
aff6b008
Commit
aff6b008
authored
3 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
wheel: add the required rpath entry for wheels
parent
2412480a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+13
-0
13 additions, 0 deletions
CMakeLists.txt
with
13 additions
and
0 deletions
CMakeLists.txt
+
13
−
0
View file @
aff6b008
...
...
@@ -373,6 +373,14 @@ if (VTK_WRAP_PYTHON)
"
${
vtk_required_python_modules
}
\n
"
)
get_property
(
vtk_soabi GLOBAL
PROPERTY _vtk_python_soabi
)
if
(
APPLE AND VTK_WHEEL_BUILD
)
list
(
APPEND CMAKE_INSTALL_RPATH
# Wheels place loaded libraries under a `.dylibs` subdirectory. Add this
# to the rpath list.
"@loader_path/.dylibs"
)
endif
()
vtk_module_wrap_python
(
MODULES
${
vtk_modules
}
INSTALL_EXPORT VTKPython
...
...
@@ -385,6 +393,11 @@ if (VTK_WRAP_PYTHON)
WRAPPED_MODULES vtk_python_wrapped_modules
TARGET VTK::vtkpythonmodules
)
if
(
APPLE AND VTK_WHEEL_BUILD
)
list
(
REMOVE_ITEM CMAKE_INSTALL_RPATH
"@loader_path/.dylibs"
)
endif
()
add_subdirectory
(
Wrapping/Python
)
export
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment