Skip to content
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

cmake: Allow PYTHON_SITE_PACKAGES_INSTALL_DIR set extern #461

Conversation

DasRoteSkelett
Copy link
Contributor

The variable PYTHON_SITE_PACKAGES_INSTALL_DIR is kind of hardcoded in the CMakeLists.txt to .../dist-packages. This is not true for all linux distros. dist-packages comes from debian and debian like distros. Python core uses site-packages.

We use an unintrusive way and allow the variable to be passed from cmake, so you at least have the option to set a different install location (i.e. site-packages) from extern.

The variable PYTHON_SITE_PACKAGES_INSTALL_DIR is kind of
hardcoded in the CMakeLists.txt to .../dist-packages. This
is not true for all linux distros. dist-packages comes
from debian and debian like distros. Python core uses
site-packages.

We use an unintrusive way and allow the variable to be
passed from cmake, so you at least have the option to
set a different install location (i.e. site-packages)
from extern.

Signed-off-by: Matthias Schoepfer <matthias.schoepfer@googlemail.com>
@MatthijsBurgh MatthijsBurgh merged commit faa74b7 into orocos:master May 7, 2024
13 checks passed
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.

None yet

2 participants