X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9347ab3e960f0f098338c88a79724dbcf4a58bb..65d3d8fcbbea9adce80f7c2606d0dabc2bdd7f1c:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index d5fb1132a3..8e9a8daf42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,10 @@ cmake_minimum_required(VERSION 2.6) if(WIN32) SET(CMAKE_RC_COMPILER "windres") endif() -project(SimGrid CXX C Fortran) +project(SimGrid C) +if (enable_gtnets OR enable_ns3) + enable_language(CXX) +endif() set(CMAKE_C_FLAGS "" CACHE TYPE INTERNAL FORCE) set(CMAKE_CXX_FLAGS "" CACHE TYPE INTERNAL FORCE)