From: navarro Date: Wed, 23 May 2012 14:42:31 +0000 (+0200) Subject: Fix configure warning on mac X-Git-Tag: v3_8~685^2~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/57a4e57a6df0a73784458d7eb9856b40f51465ad Fix configure warning on mac --- diff --git a/buildtools/Cmake/Flags.cmake b/buildtools/Cmake/Flags.cmake index b5dcd8019d..a69b065f2a 100644 --- a/buildtools/Cmake/Flags.cmake +++ b/buildtools/Cmake/Flags.cmake @@ -20,9 +20,9 @@ endif(enable_compile_warnings) if(enable_compile_optimizations) set(optCFLAGS "-O3 -finline-functions -funroll-loops -fno-strict-aliasing ") - if(${COMPILER_C_VERSION_MAJOR_MINOR} STRGREATER "4.5") + if(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5") set(optCFLAGS "${optCFLAGS}-flto ") - endif(${COMPILER_C_VERSION_MAJOR_MINOR} STRGREATER "4.5") + endif(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5") else(enable_compile_optimizations) set(optCFLAGS "-O0 ") endif(enable_compile_optimizations)