projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfortran fix for cluster/wham/src build
[unres.git]
/
source
/
cluster
/
wham
/
src
/
CMakeLists.txt
diff --git
a/source/cluster/wham/src/CMakeLists.txt
b/source/cluster/wham/src/CMakeLists.txt
index
3adb775
..
120d163
100644
(file)
--- 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
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} )
# 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 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
#=========================================
# Build the binary