1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-02-08 09:21:33 +00:00

cmake: Python 3.9 support

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2020-01-29 17:12:07 +00:00
parent ab7078d574
commit 85f4452b0a

View File

@@ -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)