X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2FCMakeLists.txt;h=176d36bcf5241aba7d560747b3bb75a448c94177;hb=e37d739bbb104dff7a0c2965558195db02d89e34;hp=e82c6f390db6ab9056016d3175faee66d27027ca;hpb=69e7eb6f86190ed55e6a46fb2ea82840f3da19be;p=unres.git diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index e82c6f3..176d36b 100644 --- a/source/unres/src_MD/CMakeLists.txt +++ b/source/unres/src_MD/CMakeLists.txt @@ -81,6 +81,13 @@ set(UNRES_MD_SRC0 unres.F ) +if (Fortran_COMPILER_NAME STREQUAL "ifort") + set(UNRES_MDM_SRC0 "${UNRES_MDM_SRC0} prng.f") +else + set(UNRES_MDM_SRC0 "${UNRES_MDM_SRC0} prng_32.F") +endif (Fortran_COMPILER_NAME STREQUAL "ifort") + + set(UNRES_MD_SRC3 energy_p_new_barrier.F energy_p_new-sep_barrier.F @@ -130,6 +137,10 @@ set(UNRES_MD_PP_SRC ) +if(NOT Fortran_COMPILER_NAME STREQUAL "ifort") + set(UNRES_MDM_PP_SRC "${UNRES_MDM_PP_SRC} prng_32.F") +endif(NOT Fortran_COMPILER_NAME STREQUAL "ifort") + #================================================ # Set comipiler flags for different sourcefiles #================================================