X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2FCMakeLists.txt;h=94d735a8853abdd34548c1c3aade415d946079d6;hb=183fc304cec5bd119a89d2968dce55e13381fe8f;hp=7486050e7260011708d40e1d6d5b3c477a2b34a9;hpb=e309a0d255ec43e58ebb6b26446e2845cc8bba91;p=unres.git diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index 7486050..94d735a 100644 --- a/source/unres/src_MD/CMakeLists.txt +++ b/source/unres/src_MD/CMakeLists.txt @@ -78,6 +78,7 @@ set(UNRES_MD_SRC0 timing.F thread.F unres.F + ssMD.F ) if(Fortran_COMPILER_NAME STREQUAL "ifort") @@ -151,11 +152,11 @@ if (Fortran_COMPILER_NAME STREQUAL "ifort") #set(FFLAGS3 "-c -w -O3 -ipo -ipo_obj -opt_report" ) set(FFLAGS3 "-w -ipo " ) elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") - set(FFLAGS0 "-I. " ) - set(FFLAGS1 "-g -I. " ) - set(FFLAGS2 "-I. ") + set(FFLAGS0 "-std=legacy -I. " ) + set(FFLAGS1 "-std=legacy -g -I. " ) + set(FFLAGS2 "-std=legacy -I. ") #set(FFLAGS3 "-c -w -O3 -ipo -ipo_obj -opt_report" ) - set(FFLAGS3 "-I. " ) + set(FFLAGS3 "-std=legacy -I. " ) endif (Fortran_COMPILER_NAME STREQUAL "ifort")