From c3a9c13bf805db6b0d6a86766d735eaffb52fb9f Mon Sep 17 00:00:00 2001 From: Dawid Jagiela Date: Sun, 26 Oct 2014 15:33:10 +0100 Subject: [PATCH] added missing preprocessor flags for prng_32.F --- source/unres/src_CSA/CMakeLists.txt | 2 ++ source/unres/src_CSA_DiL/CMakeLists.txt | 4 ++++ source/unres/src_MD-M/CMakeLists.txt | 2 ++ source/unres/src_MD/CMakeLists.txt | 7 +++++++ 4 files changed, 15 insertions(+) diff --git a/source/unres/src_CSA/CMakeLists.txt b/source/unres/src_CSA/CMakeLists.txt index e4b2f53..ba229fc 100644 --- a/source/unres/src_CSA/CMakeLists.txt +++ b/source/unres/src_CSA/CMakeLists.txt @@ -177,7 +177,9 @@ 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") diff --git a/source/unres/src_CSA_DiL/CMakeLists.txt b/source/unres/src_CSA_DiL/CMakeLists.txt index 7d2e805..d69490c 100644 --- a/source/unres/src_CSA_DiL/CMakeLists.txt +++ b/source/unres/src_CSA_DiL/CMakeLists.txt @@ -177,13 +177,17 @@ 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} ) diff --git a/source/unres/src_MD-M/CMakeLists.txt b/source/unres/src_MD-M/CMakeLists.txt index b7bf588..84a5ab8 100644 --- a/source/unres/src_MD-M/CMakeLists.txt +++ b/source/unres/src_MD-M/CMakeLists.txt @@ -235,7 +235,9 @@ if (UNRES_WITH_MPI) endif(UNRES_WITH_MPI) +#========================================= # add 64-bit specific preprocessor flags +#========================================= if (architektura STREQUAL "64") set(CPPFLAGS "${CPPFLAGS} -DAMD64") endif (architektura STREQUAL "64") diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index 49f3869..e2b4934 100644 --- a/source/unres/src_MD/CMakeLists.txt +++ b/source/unres/src_MD/CMakeLists.txt @@ -206,6 +206,13 @@ if (UNRES_WITH_MPI) endif(UNRES_WITH_MPI) #========================================= +# 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_MD_PP_SRC} PROPERTY COMPILE_DEFINITIONS ${CPPFLAGS} ) -- 1.7.9.5