From: Marc Fehling Date: Tue, 3 Jul 2018 20:50:03 +0000 (-0600) Subject: Increase minimum version of p4est to 2.0. X-Git-Tag: v9.1.0-rc1~959^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=850e6d7ac1acd836f85d545108c35d4ea5de9df5;p=dealii.git Increase minimum version of p4est to 2.0. --- diff --git a/cmake/configure/configure_p4est.cmake b/cmake/configure/configure_p4est.cmake index a3271ad56f..b2538ddcef 100644 --- a/cmake/configure/configure_p4est.cmake +++ b/cmake/configure/configure_p4est.cmake @@ -27,15 +27,16 @@ MACRO(FEATURE_P4EST_FIND_EXTERNAL var) SET(${var} TRUE) # - # We require at least version 0.3.4.1 + # We require at least version 2.0 # - IF(P4EST_VERSION VERSION_LESS "0.3.4.1") + SET(_version_required 2.0) + IF(P4EST_VERSION VERSION_LESS ${_version_required}) MESSAGE(STATUS "Insufficient p4est installation found: " - "At least version 0.3.4.1 is required." + "At least version ${_version_required} is required." ) SET(P4EST_ADDITIONAL_ERROR_STRING "Insufficient p4est installation found!\n" - "At least version 0.3.4.1 is required.\n" + "At least version ${_version_required} is required.\n" ) SET(${var} FALSE) ENDIF()