cmake: Python 3.9 support
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
ab7078d574
commit
85f4452b0a
@ -171,7 +171,7 @@ if (BUILD_PYTHON)
|
||||
endwhile ()
|
||||
|
||||
if (NOT Boost_PYTHON_FOUND)
|
||||
foreach (PyVer 3 36 37 38)
|
||||
foreach (PyVer 3 36 37 38 39)
|
||||
find_package(Boost QUIET COMPONENTS python${PyVer} ${boost_libs})
|
||||
if ("${Boost_LIBRARIES}" MATCHES ".*(python|PYTHON).*" )
|
||||
set(Boost_PYTHON_FOUND TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user