Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
LivenessChecker::get_textual_trace() calls a facade api
[simgrid.git] / CMakeLists.txt
index 34eca7855d9b2fa43bf808ed0147f06b57f11c4d..92465ca2fc2562ce205e7de15808cddcee4d1b29 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})