From 297d16ded01e5f0551b2671d377eae81fa17b85e Mon Sep 17 00:00:00 2001 From: Dawid Jagiela Date: Thu, 24 May 2012 22:25:15 +0200 Subject: [PATCH] gfortran proc_proc.c build flags fix in source/cluster/wham/src-M --- source/cluster/wham/src-M/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/cluster/wham/src-M/CMakeLists.txt b/source/cluster/wham/src-M/CMakeLists.txt index 5107cb6..3926afb 100644 --- a/source/cluster/wham/src-M/CMakeLists.txt +++ b/source/cluster/wham/src-M/CMakeLists.txt @@ -2,7 +2,7 @@ # CMake project file for cluster analysis from WHAM for oligomeric proteins # -enable_language (Fortran) +enable_language (Fortran C) #================================ # Set source file lists @@ -55,7 +55,6 @@ set(UNRES_CLUSTER_WHAM_M_PP_SRC timing.F track.F work_partition.F - proc_proc.c ) @@ -109,6 +108,7 @@ endif(UNRES_WITH_MPI) #========================================= set_property(SOURCE ${UNRES_CLUSTER_WHAM_M_PP_SRC} PROPERTY COMPILE_DEFINITIONS ${CPPFLAGS} ) +set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "LINUX -DPGI" ) #======================================== # Setting binary name @@ -134,7 +134,7 @@ set(UNRES_CLUSTER_WHAM_M_BIN "unres_clustMD.exe") #========================================= # Set full unres CLUSTER sources #========================================= -set(UNRES_CLUSTER_WHAM_M_SRCS ${UNRES_CLUSTER_WHAM_M_SRC0} ${CMAKE_CURRENT_SOURCE_DIR}/proc_proc.c) +set(UNRES_CLUSTER_WHAM_M_SRCS ${UNRES_CLUSTER_WHAM_M_SRC0} proc_proc.c) #========================================= # Build the binary -- 1.7.9.5