X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Fwham%2Fsrc%2FCMakeLists.txt;h=120d1630439f98afad50b368bec453f2f7be341e;hb=8af37e5509dcf811b62c3e959c69b921a578ccb6;hp=ec0b67ea927ac21431503e464ef76f3b5caadedb;hpb=c4d3af184529909554ad0472e52ca8987de91ca9;p=unres.git diff --git a/source/cluster/wham/src/CMakeLists.txt b/source/cluster/wham/src/CMakeLists.txt index ec0b67e..120d163 100644 --- a/source/cluster/wham/src/CMakeLists.txt +++ b/source/cluster/wham/src/CMakeLists.txt @@ -52,7 +52,6 @@ set(UNRES_CLUSTER_WHAM_PP_SRC timing.F track.F work_partition.F - proc_proc.c ) @@ -62,7 +61,7 @@ set(UNRES_CLUSTER_WHAM_PP_SRC if (Fortran_COMPILER_NAME STREQUAL "ifort") set(FFLAGS0 "-ip -w -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") - set(FFLAGS0 "-I. -I${CMAKE_CURRENT_SOURCE_DIR}/inlude_unres " ) + set(FFLAGS0 "-I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) endif (Fortran_COMPILER_NAME STREQUAL "ifort") # Add MPI compiler flags @@ -128,10 +127,16 @@ set(UNRES_CLUSTER_WHAM_BIN "unres_clustMD.exe") # DEPENDS compinfo-wham-m ) #set_property(SOURCE ${UNRES_CINFO_DIR}/cinfo.f PROPERTY COMPILE_FLAGS ${FFLAGS0} ) +set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "LINUX -DPGI" ) + + + #========================================= # Set full unres CLUSTER sources #========================================= -set(UNRES_CLUSTER_WHAM_SRCS ${UNRES_CLUSTER_WHAM_SRC0} ${CMAKE_CURRENT_SOURCE_DIR}/proc_proc.c) +set(UNRES_CLUSTER_WHAM_SRCS ${UNRES_CLUSTER_WHAM_SRC0} proc_proc.c) + + #========================================= # Build the binary