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
Humanoid Path Planner
hpp-fcl
Commits
2afa8d5c
Unverified
Commit
2afa8d5c
authored
Aug 03, 2021
by
Justin Carpentier
Committed by
GitHub
Aug 03, 2021
Browse files
Merge pull request #237 from nim65s/topic/rpath
[CMake] set INSTALL_RPATH for python on linux
parents
7624c32d
8debfc9b
Pipeline
#15477
passed with stage
in 100 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
2afa8d5c
...
...
@@ -132,6 +132,10 @@ SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/python/
${
LIBRARY_NAME
}
"
)
IF
(
UNIX AND NOT APPLE
)
SET_TARGET_PROPERTIES
(
${
LIBRARY_NAME
}
PROPERTIES INSTALL_RPATH
"
\$
ORIGIN/../../.."
)
ENDIF
()
IF
(
IS_ABSOLUTE
${
PYTHON_SITELIB
}
)
SET
(
${
LIBRARY_NAME
}
_INSTALL_DIR
${
PYTHON_SITELIB
}
/
${
LIBRARY_NAME
}
)
ELSE
()
...
...
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