X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc-HCD-5D%2FCMakeLists.txt;h=a3ded26e4813b50acf7b29b5593d1c79c3d80c6c;hb=0b471fb8661589b3c55ad68efd9e39f89e1fb9be;hp=1cbe55b29dc5ae205f439caade661dfda5e085f7;hpb=e21f01074d00b176ae74cde1acff1e1295c0a3a5;p=unres.git diff --git a/source/unres/src-HCD-5D/CMakeLists.txt b/source/unres/src-HCD-5D/CMakeLists.txt index 1cbe55b..a3ded26 100644 --- 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) - set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG -DLBFGS" ) + if (UNRES_SUMSLD) + set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG " ) + else() + set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG -DLBFGS" ) + endif() endif() #========================================= @@ -313,7 +317,11 @@ if(UNRES_DFA) 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)