• Henry Schreiner's avatar
    feat: new FindPython support (#2370) · 1729aae9
    Henry Schreiner authored
    * feat: FindPython support
    
    * refactor: rename to PYBIND11_FINDPYTHON
    
    * docs: Caps fixes
    
    * feat: NOPYTHON mode
    
    * test: check simple call
    
    * docs: add changelog/upgrade guide
    
    * feat: Support Python3 and Python2
    
    * refactor: Use targets in tests
    
    * fix: support CMake 3.4+
    
    * feat: classic search also finds virtual environments
    
    * docs: some updates from @wjakob's review
    
    * fix: wrong name for QUIET mode variable, reported by @skoslowski
    
    * refactor: cleaner output messaging
    
    * fix: support debug Python's in FindPython mode too
    
    * fixup! refactor: cleaner output messaging
    
    * fix: missing pybind11_FOUND and pybind11_INCLUDE_DIR restored to subdir mode
    
    * fix: nicer reporting of Python / PyPy
    
    * fix: out-of-order variable fix
    
    * docs: minor last-minute cleanup
    1729aae9
FindPythonLibsNew.cmake 9.68 KB