From: Augustin Degomme Date: Wed, 15 Nov 2017 19:33:34 +0000 (+0100) Subject: fix typo X-Git-Tag: v3.18~242^2~25 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/af1d0bec9b73298a4881b6cea625cda89851e59d fix typo --- diff --git a/tools/cmake/GCCFlags.cmake b/tools/cmake/GCCFlags.cmake index b01b5e4514..94aaffda7f 100644 --- a/tools/cmake/GCCFlags.cmake +++ b/tools/cmake/GCCFlags.cmake @@ -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")