Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Remember Python Version (pybind#1434)
It is useful not only to remember the python libs and includes but also the interpreter version in cache. If users call pybind11 throught `add_subdirectories` they will otherwise have no access to the selected interpreter version. The interpreter version is useful for downstream projects, e.g. to select default `lib/pythonX.Y/site-packages/` install paths.
- Loading branch information