X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_CSA_DiL%2FCMakeLists.txt;h=7d2e805aea18c340e1ac5a9cdbad320ad93c55ab;hb=998ea0d1a69abab5d6d746bc6490ea2ddcf7da77;hp=04fb4bba1ce5f5832dd67ffb68e7f428a9fbb297;hpb=d27489c92b945b9ad9c023f69b724aa06a38ce53;p=unres.git diff --git a/source/unres/src_CSA_DiL/CMakeLists.txt b/source/unres/src_CSA_DiL/CMakeLists.txt index 04fb4bb..7d2e805 100644 --- a/source/unres/src_CSA_DiL/CMakeLists.txt +++ b/source/unres/src_CSA_DiL/CMakeLists.txt @@ -177,6 +177,12 @@ endif (Fortran_COMPILER_NAME STREQUAL "ifort") #========================================= set(CPPFLAGS "${CPPFLAGS} -DMP -DMPI") +# add 64-bit specific preprocessor flags +if (architektura STREQUAL "64") + set(CPPFLAGS "${CPPFLAGS} -DAMD64") +endif (architektura STREQUAL "64") + + # Apply preprocesor flags to *.F files set_property(SOURCE ${UNRES_CSA_DiL_PP_SRC} PROPERTY COMPILE_DEFINITIONS ${CPPFLAGS} )