From: Martin Quinson Date: Tue, 24 Sep 2013 16:19:59 +0000 (+0200) Subject: and now with the correct cmake syntax X-Git-Tag: v3_9_90~91^2~10^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/88377096ae9355d5395ca76681432237806475d5?ds=sidebyside and now with the correct cmake syntax --- diff --git a/buildtools/Cmake/Flags.cmake b/buildtools/Cmake/Flags.cmake index be0a919e25..d115f49566 100644 --- a/buildtools/Cmake/Flags.cmake +++ b/buildtools/Cmake/Flags.cmake @@ -40,7 +40,8 @@ endif() if(WIN32) # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50293 if (COMPILER_C_VERSION_MAJOR_MINOR MATCHES "4.7" OR COMPILER_C_VERSION_MAJOR_MINOR MATCHES "4.6") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --disable-lto") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --disable-lto") + endif() endif() if(NOT enable_debug)