diff --git a/dlib/cmake_utils/add_python_module b/dlib/cmake_utils/add_python_module index 2059af7e45..bb6c318937 100644 --- a/dlib/cmake_utils/add_python_module +++ b/dlib/cmake_utils/add_python_module @@ -68,7 +68,7 @@ if (PYTHON3) if (NOT Boost_FOUND) FIND_PACKAGE(Boost 1.41.0 COMPONENTS python) endif() - set(Python_ADDITIONAL_VERSIONS 3.5) + set(Python_ADDITIONAL_VERSIONS 3.5 3.6) FIND_PACKAGE(PythonLibs 3.4 REQUIRED) else() FIND_PACKAGE(Boost 1.41.0 COMPONENTS python)