]> AND Public Git Repository - simgrid.git/blobdiff - CMakeLists.txt
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix make dist
[simgrid.git] / CMakeLists.txt
index 61c9b47041eebc59c53823c95ea46618f683eaca..0c9da4ada3853fdf9470a330547463948dc7e663 100644 (file)
@@ -145,7 +145,7 @@ set(PythonInterp_FIND_VERSION 3)
 set(PythonInterp_FIND_VERSION_COUNT 1)
 set(PythonInterp_FIND_VERSION_MAJOR 3)
 include(FindPythonInterp)
-if(NOT PYTHON_EXECUTABLE)
+if(NOT PYTHONINTERP_FOUND)
   message(FATAL_ERROR "Please install Python (version 3 or higher).")
 endif()