X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fwham%2Fsrc-M%2FCMakeLists.txt;h=2576a150e54653c996e56595437c29532a43e1f9;hb=45e95e209dda0077d3b92164f5f25bf97a01da87;hp=d534ddbf5c2a6df5e6d92c68064c87b2da8a3778;hpb=714ad320a870340a1a3e98722b516cbdff4b6401;p=unres.git diff --git a/source/wham/src-M/CMakeLists.txt b/source/wham/src-M/CMakeLists.txt index d534ddb..2576a15 100644 --- a/source/wham/src-M/CMakeLists.txt +++ b/source/wham/src-M/CMakeLists.txt @@ -118,6 +118,7 @@ if(UNRES_MD_FF STREQUAL "GAB" ) # set preprocesor flags set(CPPFLAGS "PROCOR -DSPLITELE -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DSCCORPDB" ) + #========================================= # Settings for E0LL2Y force field #========================================= @@ -151,6 +152,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "f95") elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") # Add old gfortran flags set(CPPFLAGS "${CPPFLAGS} -DG77") +else (Fortran_COMPILER_NAME STREQUAL "ifort") + # Default preprocessor flags + set(CPPFLAGS "${CPPFLAGS} -DPGI") endif (Fortran_COMPILER_NAME STREQUAL "ifort") #=========================================