From: Adam Kazimierz Sieradzan Date: Wed, 17 Oct 2012 09:39:26 +0000 (-0400) Subject: Poprawka w Cmakelist X-Git-Tag: v.3.2~65 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?p=unres.git;a=commitdiff_plain;h=0159dffb0c6ab8021f45dc01794d77b091499a4d Poprawka w Cmakelist --- diff --git a/source/unres/src_MD-M/CMakeLists.txt b/source/unres/src_MD-M/CMakeLists.txt index 4251303..b5b9c05 100644 --- a/source/unres/src_MD-M/CMakeLists.txt +++ b/source/unres/src_MD-M/CMakeLists.txt @@ -97,6 +97,8 @@ set(UNRES_MDM_SRC0 if (Fortran_COMPILER_NAME STREQUAL "ifort") set(UNRES_MDM_SRC0 ${UNRES_MDM_SRC0} prng.f ) +elseif(Fortran_COMPILER_NAME STREQUAL "mpif90") + 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") diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index c56c706..7f31f0e 100644 --- a/source/unres/src_MD/CMakeLists.txt +++ b/source/unres/src_MD/CMakeLists.txt @@ -82,6 +82,8 @@ set(UNRES_MD_SRC0 if(Fortran_COMPILER_NAME STREQUAL "ifort") set(UNRES_MD_SRC0 ${UNRES_MD_SRC0} prng.f ) +elseif(Fortran_COMPILER_NAME STREQUAL "mpif90") + set(UNRES_MD_SRC0 ${UNRES_MD_SRC0} prng.f ) else() set(UNRES_MD_SRC0 ${UNRES_MD_SRC0} prng_32.F ) endif (Fortran_COMPILER_NAME STREQUAL "ifort")