Skip to content

Commit

Permalink
taskflow: require 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed May 21, 2024
1 parent 1612211 commit 4299ae6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmake/configure/configure_10_taskflow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,36 @@ 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."
"3.7, 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)
if(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)
"The externally provided Taskflow library
requires C++17 support, which has not been configured."
)
set(TASKFLOW_ADDITIONAL_ERROR_STRING
"The externally provided Taskflow library (version 3.0 onwards) "
"The externally provided Taskflow library "
"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"
Expand Down

0 comments on commit 4299ae6

Please sign in to comment.