Hi All,<div><br></div><div>The attached patch changes FindPythonLibs.cmake so that it returns the following variables:</div><div>PYTHON_VERSION</div><div>PYTHON_MAJOR_VERSION</div><div>PYTHON_MINOR_VERSION</div><div>PYTHON_MICRO_VERSION</div>
<div><br></div><div>The purpose of this patch is to allow CMake scripts to perform conditional configuration based on what python version was found, e.g. in case different configuration is required for Python 3 versus Python 2.</div>
<div><br></div><div> - David</div>