X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2FCMakeLists.txt;h=7486050e7260011708d40e1d6d5b3c477a2b34a9;hb=bbd4e14f248304c239adb46a64e66a2f6dfeb191;hp=c56c706a31d773e730b296b5d6c70db49e582945;hpb=708e57db15c5fc52e9fd629e72d8a1211611620e;p=unres.git diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index c56c706..7486050 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") @@ -260,9 +262,6 @@ FILE(APPEND ${CINFO} return end ") -#FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/cinfo.f -# CINFO_FORMAT(CPPFLAGS) -#) # add include path set_property(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/cinfo.f PROPERTY COMPILE_FLAGS "${FFLAGS0} -I${CMAKE_CURRENT_SOURCE_DIR}")