Skip to content

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented Sep 21, 2024

The PyPI distribution of CMake shall not be listed as an unconditional build requirement. It shall only be added as a build requirement if not installed or too low a version.

This helps building from sources on platforms where no wheels are available for CMake but the system already provides a recent enough CMake version. Adress the comment in #793 (comment).

In case of error checking the version, the backend falls back to using the PyPI distribution of CMake.

The PyPI distribution of CMake shall not be listed as an unconditional build requirement.
It shall only be added as a build requirement if not installed or too low a version.

This helps building from sources on platforms where no wheels are available for CMake but the system already provides a recent enough CMake version.

In case of error checking the version, the backend falls back to using the PyPI distribution of CMake.
@asmorkalov asmorkalov merged commit e4618a3 into opencv:4.x Jan 15, 2025
151 of 164 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.

2 participants