LibTorch: include cmake files for all distributed headers #15491
Labels
module: cpp
Related to C++ API
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
I'm planning to add libtorch support to a project that already uses pybind11, and I got a few errors because libtorch also bundled pybind11, which is automatically added to the include path.
While it's easy enough to use the bundled pybind11 in our project, there is no clean way to reference this in cmake since the libtorch distribution does not include a cmake config file for pybind11. I would suggest adding it, so that one can properly reference the bundled pybind11 version.
The text was updated successfully, but these errors were encountered: