mirror of
https://github.com/boostorg/boost_install.git
synced 2026-01-19 04:02:13 +00:00
Merge pull request #53 from shr-project/jansa/python-3.10
BoostConfig.cmake: allow searching for python310
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user