Use CMake 3.12+ facilities for detecting Python.
[alexxy/gromacs.git] / cmake / FindPythonModule.cmake
index 8fbac87163b9c33160156f949f02b2964f3fa183..a5328dd8b8e379b80bfa4887f4bf7aa79dfb6734 100644 (file)
@@ -34,7 +34,6 @@
 
 # Adapted from code posted on cmake-users by Mark Moll (the execute_process()
 # call remains, but other things have been rewritten for nicer behavior).
-find_package(PythonInterp 3.6)
 
 function (find_python_module module)
     string(TOUPPER ${module} _module_upper)