Require Python 3.6.
[alexxy/gromacs.git] / CMakeLists.txt
index 2ea58973e2b4d91478d55bc8a7a362a896d6b32b..22302be17f1a6a16b86b033d7727c71e68a02688 100644 (file)
@@ -854,12 +854,12 @@ if (NOT GMX_BUILD_MDRUN_ONLY)
     # Older CMake versions might not search for Python newer than 3.7.
     set(Python_ADDITIONAL_VERSIONS 3.8)
     if(GMX_PYTHON_PACKAGE)
-        find_package(PythonInterp 3.5 REQUIRED)
+        find_package(PythonInterp 3.6 REQUIRED)
         # Note: PythonLibs will be found later by pybind11.
         # TODO: (issue #2998) When CMake >= 3.12 is required, update detection.
-        # I.e.  find_package(Python3 3.5 COMPONENTS Interpreter Development REQUIRED)
+        # I.e.  find_package(Python3 3.6 COMPONENTS Interpreter Development REQUIRED)
     else()
-        find_package(PythonInterp 3.5)
+        find_package(PythonInterp 3.6)
     endif()
     find_package(ImageMagick QUIET COMPONENTS convert)
     include(gmxTestImageMagick)