Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix typo
authorAugustin Degomme <augustin.degomme@unibas.ch>
Wed, 15 Nov 2017 19:33:34 +0000 (20:33 +0100)
committerAugustin Degomme <augustin.degomme@unibas.ch>
Wed, 15 Nov 2017 19:33:47 +0000 (20:33 +0100)
tools/cmake/GCCFlags.cmake

index b01b5e4..94aaffd 100644 (file)
@@ -44,10 +44,10 @@ if(enable_compile_warnings)
   # the one specific to C but refused by C++
   set(warnCFLAGS "${warnCFLAGS} -Wmissing-prototypes") 
 
-  if(CMAKE_Fotran_COMPILER_ID MATCHES "GCC|PGI")
+  if(CMAKE_Fortran_COMPILER_ID MATCHES "GCC|PGI")
     set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Wall")
   endif()
-  if(CMAKE_Fotran_COMPILER_ID MATCHES "Intel")
+  if(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
     set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -warn all")
   endif()
   set(CMAKE_JAVA_COMPILE_FLAGS "-Xlint")