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

Public GIT Repository
try to get tesh ignoring the cruft of Jenkins and friends
[simgrid.git] / CMakeLists.txt
index 526bec15c0ff5ab8e42ba40b5642894ee27b3f57..0c9da4ada3853fdf9470a330547463948dc7e663 100644 (file)
@@ -145,6 +145,9 @@ set(PythonInterp_FIND_VERSION 3)
 set(PythonInterp_FIND_VERSION_COUNT 1)
 set(PythonInterp_FIND_VERSION_MAJOR 3)
 include(FindPythonInterp)
+if(NOT PYTHONINTERP_FOUND)
+  message(FATAL_ERROR "Please install Python (version 3 or higher).")
+endif()
 
 if (APPLE)
   set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")