Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Support external pybind11 #337

Closed
@musicinmybrain

Description

@musicinmybrain

In general, pybind11 supports use with add_subdirectory(extern/pybind11) or from an install with find_package(pybind11 CONFIG) (https://pybind11.readthedocs.io/en/stable/cmake/index.html, https://pybind11.readthedocs.io/en/stable/compiling.html#building-with-cmake).

I’ve tried to do this downstream in Fedora Linux, but couldn’t manage to untangle CMake enough to get it working properly in this particular case. An EXTERNAL_PYBIND11 option, similar to the existing EXTERNAL_HIGHFIVE, would be a big help!

This isn’t a critical issue, as Fedora Linux guidelines do allow us to continue to bundle pybind11 as long as upstream does not support building with an external copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions