From: Dawid Jagiela Date: Thu, 24 May 2012 20:25:15 +0000 (+0200) Subject: gfortran proc_proc.c build flags fix in source/cluster/wham/src-M X-Git-Tag: v.3.2~105 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?p=unres.git;a=commitdiff_plain;h=297d16ded01e5f0551b2671d377eae81fa17b85e gfortran proc_proc.c build flags fix in source/cluster/wham/src-M --- 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