Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change parameter to increase coverage.
[simgrid.git] / CMakeLists.txt
index 34eca78..92465ca 100644 (file)
@@ -147,7 +147,7 @@ if(CMAKE_VERSION VERSION_LESS "3.12")
   endif()
 else()
   find_package(Python3 COMPONENTS Interpreter Development)
-  if(NOT Python3_FOUND)
+  if(NOT Python3_Interpreter_FOUND)
     message(FATAL_ERROR "Please install Python (version 3 or higher) to compile SimGrid.")
   endif()
   set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})