Skip to content

[Feature request] Export cmake variables corresponding to Python version #2268

Open
@SylvainCorlay

Description

@SylvainCorlay

Variables such as PYTHON_VERSION_MAJOR and PYTHON_VERSION_MINOR are marked as INTERNAL.

As a consequence, downstream projects making use of pybind11 in their cmake cannot make use of these variables. It would be very convenient to have access to them!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions