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})