projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake -DUNRES_SUMSLD
[unres.git]
/
source
/
unres
/
src-HCD-5D
/
CMakeLists.txt
diff --git
a/source/unres/src-HCD-5D/CMakeLists.txt
b/source/unres/src-HCD-5D/CMakeLists.txt
index
1cbe55b
..
a3ded26
100644
(file)
--- a/
source/unres/src-HCD-5D/CMakeLists.txt
+++ b/
source/unres/src-HCD-5D/CMakeLists.txt
@@
-248,7
+248,11
@@
if(UNRES_DFA)
endif(UNRES_DFA)
if(UNRES_5D)
endif(UNRES_DFA)
if(UNRES_5D)
- set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG -DLBFGS" )
+ if (UNRES_SUMSLD)
+ set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG " )
+ else()
+ set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG -DLBFGS" )
+ endif()
endif()
#=========================================
endif()
#=========================================
@@
-313,7
+317,11
@@
if(UNRES_DFA)
set(DFA "_DFA")
endif()
if(UNRES_5D)
set(DFA "_DFA")
endif()
if(UNRES_5D)
- set(HCD-5D "_HCD-5D")
+ if (UNRES_SUMSLD)
+ set(HCD-5D "_HCD-5D-SUMSLD")
+ else()
+ set(HCD-5D "_HCD-5D")
+ endif()
endif()
if(UNRES_WITH_MPI)
endif()
if(UNRES_WITH_MPI)