X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD-M%2FCMakeLists.txt;h=a7b135072a7cf7a94c4274b93fe3f414defd2965;hb=378909a89133e84e7436486b261da383fc966834;hp=b6184495842303201992160a0742cf3b6982d91f;hpb=6a1212d0aa7c6211946d3923428618f393a75a0b;p=unres.git diff --git a/source/unres/src_MD-M/CMakeLists.txt b/source/unres/src_MD-M/CMakeLists.txt index b618449..a7b1350 100644 --- a/source/unres/src_MD-M/CMakeLists.txt +++ b/source/unres/src_MD-M/CMakeLists.txt @@ -96,9 +96,9 @@ set(UNRES_MDM_SRC0 ) 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") + 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") @@ -157,7 +157,8 @@ set(UNRES_MDM_PP_SRC thread.F timing.F together.F - unres.F + unres.F + proc_proc.c ) @@ -202,14 +203,14 @@ set_property(SOURCE ${UNRES_MDM_SRC3} PROPERTY COMPILE_FLAGS ${FFLAGS3} ) #========================================= if(UNRES_MD_FF STREQUAL "GAB" ) # set preprocesor flags - set(CPPFLAGS "PROCOR -DUNRES -DISNAN -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC" ) + set(CPPFLAGS "PROCOR -DUNRES -DISNAN -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DSCCORPDB" ) #========================================= # Settings for E0LL2Y force field #========================================= elseif(UNRES_MD_FF STREQUAL "E0LL2Y") # set preprocesor flags - set(CPPFLAGS "PROCOR -DUNRES -DISNAN -DSPLITELE -DLANG0" ) + set(CPPFLAGS "PROCOR -DUNRES -DISNAN -DSPLITELE -DLANG0 -DSCCORPDB" ) endif(UNRES_MD_FF STREQUAL "GAB") @@ -256,7 +257,7 @@ endif (architektura STREQUAL "64") set_property(SOURCE ${UNRES_MDM_PP_SRC} PROPERTY COMPILE_DEFINITIONS ${CPPFLAGS} ) # Apply preprocesor flags to proc_proc.c -set_property(SOURCE proc_proc.c APPEND PROPERTY COMPILE_DEFINITIONS "SGI" ) +set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "SGI" ) #========================================