From: Dawid Jagiela Date: Mon, 7 May 2012 13:41:42 +0000 (+0200) Subject: new gfortran fix X-Git-Tag: v.3.2~115^2~30 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=db6e754dd69eabe7d97fe6a183b989e7d5a0db21;p=unres.git new gfortran fix --- diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index 56c497d..ecc2d6c 100644 --- a/source/unres/src_MD/CMakeLists.txt +++ b/source/unres/src_MD/CMakeLists.txt @@ -75,6 +75,9 @@ if(UNRES_FF STREQUAL "GAB" ) if (Fortran_COMPILER_NAME STREQUAL "ifort") # Add ifort preprocessor flags set(CPPFLAGS "${CPPFLAGS} -DPGI") + elseif (Fortran_COMPILER_NAME STREQUAL "f95") + # Add gfortran flags + set(CPPFLAGS "${CPPFLAGS} -DG77") elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") # Add gfortran flags set(CPPFLAGS "${CPPFLAGS} -DG77")