# FindBoost.cmake with python 3.10

**URL:** <https://discourse.cmake.org/t/findboost-cmake-with-python-3-10/4586>\
**Category:** Code\
**Created:** [December 1, 2021, 4:58pm UTC](https://discourse.cmake.org/t/findboost-cmake-with-python-3-10/4586 "2021-12-01T16:58:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MM77](https://discourse.cmake.org/user_avatar/discourse.cmake.org/mm77/32/2002_2.png) [@MM77](https://discourse.cmake.org/u/MM77)\
**Post date:** [December 1, 2021, 4:58pm UTC](https://discourse.cmake.org/t/findboost-cmake-with-python-3-10/4586/1 "2021-12-01T16:58:27Z")

</div>

Looking at the regexps here [FindBoost.cmake](https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindBoost.cmake#L393)

there is accounting only for 2 digit versions of python

Also the extra back slash is confusing

[alexander.grund@tu-dresden.de](mailto:alexander.grund@tu-dresden.de) perhaps you have an idea how to extend to 2 digit minor versions

Also in the syntax like Boost::python39 is that another part of cmake?
