From: Dawid Jagiela Date: Fri, 25 May 2012 12:16:23 +0000 (+0200) Subject: gfortran fix for cluster/wham/src build X-Git-Tag: v.3.2~104 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?p=unres.git;a=commitdiff_plain;h=a1f4ddc1708702bd0cd724223183ee9f094933cc gfortran fix for cluster/wham/src build --- diff --git a/source/cluster/wham/src/CMakeLists.txt b/source/cluster/wham/src/CMakeLists.txt index 3adb775..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 ) @@ -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