]> https://gitweb.dealii.org/ - dealii.git/commitdiff
taskflow: require 3.7.0 17053/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 21 May 2024 18:52:53 +0000 (14:52 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 22 May 2024 13:06:16 +0000 (09:06 -0400)
cmake/configure/configure_10_taskflow.cmake

index 5cfac5c50732da985aae5cff4713f2d0ca922656..5bba738d1b86cb5555b69f9205143ea673d2bf1f 100644 (file)
@@ -30,39 +30,19 @@ macro(feature_taskflow_find_external var)
     set(${var} TRUE)
   endif()
 
-  if(TASKFLOW_VERSION VERSION_LESS "2.4")
+  if(TASKFLOW_VERSION VERSION_LESS "3.7")
     # Clear the previously determined version numbers to avoid confusion
     set(TASKFLOW_VERSION "bundled")
     set(TASKFLOW_VERSION_MAJOR "")
     set(TASKFLOW_VERSION_MINOR "")
 
     message(STATUS
-      "The externally provided Taskflow library is older than version 2.4, "
+      "The externally provided Taskflow library is older than version 3.7, "
       "which cannot be used with deal.II."
       )
     set(TASKFLOW_ADDITIONAL_ERROR_STRING
       "The externally provided Taskflow library is older than version\n"
-      "2.4, which is the oldest version compatible with deal.II."
-      )
-    set(${var} FALSE)
-  endif()
-
-
-  if(NOT TASKFLOW_VERSION VERSION_LESS "3.0" AND NOT DEAL_II_HAVE_CXX17)
-    # Clear the previously determined version numbers to avoid confusion
-    set(TASKFLOW_VERSION "bundled")
-    set(TASKFLOW_VERSION_MAJOR "")
-    set(TASKFLOW_VERSION_MINOR "")
-
-    message(STATUS
-      "The externally provided Taskflow library (version 3.0 onwards)
-      requires C++17 support, which has not been configured."
-      )
-    set(TASKFLOW_ADDITIONAL_ERROR_STRING
-      "The externally provided Taskflow library (version 3.0 onwards) "
-      "requires C++17 support, but no C++17 support had been detected "
-      "during configuration.\n"
-      "Try to set -DDEAL_II_CXX_FLAGS=\"-std=c++17\" by hand.\n"
+      "3.7, which is the oldest version compatible with deal.II."
       )
     set(${var} FALSE)
   endif()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.