diff --git a/CMakeLists.txt b/CMakeLists.txt index 8131d4a5..92b5d180 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)