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

[nrfconnect] Fix CMake error when two Python versions are installed #24384

Merged
merged 1 commit into from
Jan 12, 2023

Commits on Jan 12, 2023

  1. [nrfconnect] Fix CMake error when two Python versions are installed

    When pigweed virtual environment is used, and the pigweed's
    Python is older than python installed in the system, build
    might fail because find_package(Python3) would select the
    system Python while find_package(Python3 ...) invoked by
    Zephyr would use different constraints that select the
    pigweed Python. It turns out CMake does not like calling
    find_package() with different constraints in the same scope.
    
    Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
    Damian-Nordic committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    54a5a9f View commit details
    Browse the repository at this point in the history