projects
/
unres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7857664
)
new gfortran fix
author
Dawid Jagiela
<lightnir@chem.univ.gda.pl>
Mon, 7 May 2012 13:41:42 +0000
(15:41 +0200)
committer
Dawid Jagiela
<lightnir@chem.univ.gda.pl>
Mon, 7 May 2012 13:41:42 +0000
(15:41 +0200)
source/unres/src_MD/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/source/unres/src_MD/CMakeLists.txt
b/source/unres/src_MD/CMakeLists.txt
index
56c497d
..
ecc2d6c
100644
(file)
--- a/
source/unres/src_MD/CMakeLists.txt
+++ b/
source/unres/src_MD/CMakeLists.txt
@@
-75,6
+75,9
@@
if(UNRES_FF STREQUAL "GAB" )
if (Fortran_COMPILER_NAME STREQUAL "ifort")
# Add ifort preprocessor flags
set(CPPFLAGS "${CPPFLAGS} -DPGI")
+ elseif (Fortran_COMPILER_NAME STREQUAL "f95")
+ # Add gfortran flags
+ set(CPPFLAGS "${CPPFLAGS} -DG77")
elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
# Add gfortran flags
set(CPPFLAGS "${CPPFLAGS} -DG77")