You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version (or hash if on master) of pybind11 are you using?
stable branches
Problem description
Reproduce by files uploading
Problem
When the main repo and the submodule repo also depends the pybind11 in source code way, the command pybind11_add_module in cmakelists.txt of main repo will
use the function defined in test_pybind11/third-party/sub/third-party/pybind11/tools/pybind11Tools.cmake
not the expected definition in test_pybind11/third-party/pybind11/tools/pybind11Tools.cmake
How to proof this problem is exist?
I have deleted this two files the pybind11 in test_pybind11/third-party/pybind11:
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
stable branches
Problem description
Reproduce by files uploading
Problem
When the main repo and the submodule repo also depends the pybind11 in source code way, the command
pybind11_add_module
incmakelists.txt
of main repo willtest_pybind11/third-party/sub/third-party/pybind11/tools/pybind11Tools.cmake
test_pybind11/third-party/pybind11/tools/pybind11Tools.cmake
How to proof this problem is exist?
I have deleted this two files the pybind11 in
test_pybind11/third-party/pybind11
:But I still can build the repo successfully by
Reproducible example code
Is this a regression? Put the last known working version here if it is.
Not a regression
The text was updated successfully, but these errors were encountered: