From 7664562e0146642d5df59e73025d52fe2bd436cf Mon Sep 17 00:00:00 2001 From: Adam Kazimierz Sieradzan Date: Wed, 17 Oct 2012 05:39:26 -0400 Subject: [PATCH] Poprawka w Cmakelist --- source/unres/src_MD-M/CMakeLists.txt | 2 ++ source/unres/src_MD/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) 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") -- 1.7.9.5