]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: check for python(\d)\.(\d+) when building boost
authorKefu Chai <tchaikov@gmail.com>
Thu, 18 Nov 2021 16:18:13 +0000 (00:18 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 18 Nov 2021 16:27:34 +0000 (00:27 +0800)
commit66b1e8cecdbabd76a131dc239f6f41d5374fbd32
tree888aa3755b13ec4ef5e0b46c121d297f29ec47b3
parente3f0fc7f7f1dcd9f1310e3db969621e8e6e18d1c
cmake: check for python(\d)\.(\d+) when building boost

now that python3.10 has two digits as its minor version, we should be
able to match it.

this change fixes the build with python3.10. without this change, we'd
have

error: wrong library name 'python310' in the --with-<library> option.

when building with python3.10

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
cmake/modules/BuildBoost.cmake