From: Arnaud Giersch Date: Sat, 27 Oct 2012 17:21:19 +0000 (+0200) Subject: A C++ compiler is required for gtnets and ns3. X-Git-Tag: v3_9_rc1~91^2~187 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4ee22bef8b4cebdc98311329547406dd7ebeea06?ds=sidebyside A C++ compiler is required for gtnets and ns3. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 05b9c0e535..8e9a8daf42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,9 @@ if(WIN32) SET(CMAKE_RC_COMPILER "windres") endif() 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)