From: vishalkenchan Date: Tue, 14 Nov 2017 16:35:14 +0000 (+0100) Subject: suppress use of ROL for older versions of Trilinos X-Git-Tag: v9.0.0-rc1~774^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d438f3ae69e54e511205d27569742f2ab29bd9ff;p=dealii.git suppress use of ROL for older versions of Trilinos --- diff --git a/cmake/configure/configure_2_trilinos.cmake b/cmake/configure/configure_2_trilinos.cmake index cf2e44eb95..f218fb3540 100644 --- a/cmake/configure/configure_2_trilinos.cmake +++ b/cmake/configure/configure_2_trilinos.cmake @@ -66,6 +66,15 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var) ENDIF() ENDFOREACH() + IF(${DEAL_II_TRILINOS_WITH_ROL}) + IF(TRILINOS_VERSION VERSION_LESS 12.6.1) + MESSAGE(STATUS "ROL interface is disabled." + "deal.II will not support ROL interface if Trilinos version is less " + "than 12.6.1. Trilinos version found: \"${TRILINOS_VERSION}\".") + SET(DEAL_II_TRILINOS_WITH_ROL OFF) + ENDIF() + ENDIF() + IF((TRILINOS_VERSION_MAJOR EQUAL 11 AND NOT (TRILINOS_VERSION_MINOR LESS 14)) OR