From: Wolfgang Bangerth Date: Thu, 27 Dec 2018 15:38:57 +0000 (-0700) Subject: Clear the previously determined TBB version if we need to revert to the bundled one. X-Git-Tag: v9.1.0-rc1~478^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7552%2Fhead;p=dealii.git Clear the previously determined TBB version if we need to revert to the bundled one. --- diff --git a/cmake/configure/configure_1_threads.cmake b/cmake/configure/configure_1_threads.cmake index 7cfe00dd43..6130e2e0b2 100644 --- a/cmake/configure/configure_1_threads.cmake +++ b/cmake/configure/configure_1_threads.cmake @@ -146,6 +146,11 @@ MACRO(FEATURE_THREADS_FIND_EXTERNAL var) # versions: # IF(TBB_VERSION VERSION_LESS "4.2") + # Clear the previously determined version numbers to avoid confusion + SET(TBB_VERSION "bundled") + SET(TBB_VERSION_MAJOR "") + SET(TBB_VERSION_MINOR "") + MESSAGE(STATUS "The externally provided TBB library is older than version 4.2.0, which " "cannot be used with deal.II."