Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
8bf82f58
Unverified
Commit
8bf82f58
authored
Aug 03, 2021
by
Guilhem Saurel
Committed by
GitHub
Aug 03, 2021
Browse files
Merge pull request #78 from nim65s/topic/rpath
[CMake] set INSTALL_RPATH for python on linux
parents
7951a929
ff0ef6bc
Pipeline
#15494
passed with stage
in 3 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/CMakeLists.txt
View file @
8bf82f58
# Copyright 2010-202
0
, Florent Lamiraux, Thomas Moulard, Olivier Stasse, Guilhem Saurel, JRL, CNRS/AIST, LAAS-CNRS
# Copyright 2010-202
1
, Florent Lamiraux, Thomas Moulard, Olivier Stasse, Guilhem Saurel, JRL, CNRS/AIST, LAAS-CNRS
SET
(
PYTHON_MODULE wrap
)
...
...
@@ -17,6 +17,10 @@ TARGET_LINK_BOOST_PYTHON(${PYTHON_MODULE} PRIVATE)
# Remove prefix lib
SET_TARGET_PROPERTIES
(
${
PYTHON_MODULE
}
PROPERTIES PREFIX
""
)
IF
(
UNIX AND NOT APPLE
)
SET_TARGET_PROPERTIES
(
${
PYTHON_MODULE
}
PROPERTIES INSTALL_RPATH
"
\$
ORIGIN/../../.."
)
ENDIF
()
INSTALL
(
TARGETS
${
PYTHON_MODULE
}
EXPORT
${
TARGETS_EXPORT_NAME
}
DESTINATION
${
PYTHON_SITELIB
}
/dynamic_graph
)
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment