X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/06fc953f22826925328daae2030ef04465e927b7..cb453ed529dc1fe67adcfe4f08b9111d8d2f436b:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c70bccf13..80e106cfbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,7 @@ include(GNUInstallDirs) # Check for the compiler # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +INCLUDE(CheckCCompilerFlag) ## Request full debugging flags set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3") @@ -123,7 +124,7 @@ if(NOT PERL_FOUND) message(FATAL_ERROR "Please install Perl to compile SimGrid.") endif() -# tesh.py needs python 3 (or the module python-subprocess32 on python2.8+) +# tesh.py needs python 3 find_package(Python3 COMPONENTS Interpreter) if(NOT Python3_Interpreter_FOUND) message(FATAL_ERROR "Please install Python (version 3 or higher) to compile SimGrid.")