From: Arnaud Giersch Date: Sat, 27 Oct 2012 16:26:50 +0000 (+0200) Subject: Don't enforce to have a C++ nor a Fortran compiler. X-Git-Tag: v3_9_rc1~91^2~189 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6b1fdb14d869792793c22c96d20dacd4b135f0e2 Don't enforce to have a C++ nor a Fortran compiler. Depending on the configuration options, a C compiler is sufficient. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d5fb1132a3..05b9c0e535 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6) if(WIN32) SET(CMAKE_RC_COMPILER "windres") endif() -project(SimGrid CXX C Fortran) +project(SimGrid C) set(CMAKE_C_FLAGS "" CACHE TYPE INTERNAL FORCE) set(CMAKE_CXX_FLAGS "" CACHE TYPE INTERNAL FORCE)