• Axel Huebl's avatar
    CMake: Remember Python Version (#1434) · 97b20e53
    Axel Huebl authored
    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.
    97b20e53
CMakeLists.txt 6.35 KB