Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't enforce to have a C++ nor a Fortran compiler.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sat, 27 Oct 2012 16:26:50 +0000 (18:26 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sat, 27 Oct 2012 17:04:37 +0000 (19:04 +0200)
Depending on the configuration options, a C compiler is sufficient.

CMakeLists.txt

index d5fb113..05b9c0e 100644 (file)
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
 if(WIN32)
   SET(CMAKE_RC_COMPILER "windres")
 endif()
 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)
 
 set(CMAKE_C_FLAGS "" CACHE TYPE INTERNAL FORCE)
 set(CMAKE_CXX_FLAGS "" CACHE TYPE INTERNAL FORCE)