-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] Add PIP_OPTIONS option for Python bindings install control
Add CMake option PIP_OPTIONS to allow the user to pass in pip options at build configuration time to customize the Python bindings install. As '--verbose' is a pip option, this makes the PIP_VERBOSE CMake option added in PR 1586 redundant, and so it is removed. Additionally, as '--prefix' is also a pip option, append the selected default value of '$ENV{DESTDIR}/{CMAKE_INSTALL_PREFIX}' as a '--prefix' pip option if there is no '--prefix' given by the user. If there is a given '--prefix' from the user in PIP_OPTIONS already, warn the user that this might not be a good idea unless they know what they're doing.
- Loading branch information
1 parent
3d64cda
commit 7fbf2fe
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters