Merge pull request #53 from shr-project/jansa/python-3.10

BoostConfig.cmake: allow searching for python310
This commit is contained in:
Peter Dimov
2021-10-19 17:56:31 +03:00
committed by GitHub

View File

@@ -113,7 +113,7 @@ macro(boost_find_component comp required quiet)
set(_BOOST_REQUIRED REQUIRED)
endif()
if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9])$")
if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9][0-9]?)$")
# handle pythonXY and numpyXY versioned components for compatibility