]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Fix TBB detection in WOGUI mode with some versions of gcc
authorvsr <vsr@opencascade.com>
Wed, 3 Nov 2021 14:12:37 +0000 (17:12 +0300)
committervsr <vsr@opencascade.com>
Wed, 3 Nov 2021 14:12:37 +0000 (17:12 +0300)
cmake/FindTBB.cmake

index d94152d28d7798389d08968aa680c7cf8c27de04..b9e0a752999deb571ebe4897ab3fc12902bc0f93 100644 (file)
@@ -70,7 +70,7 @@ IF(_tbb_libraries)
   SET(CMAKE_REQUIRED_LIBRARIES "${_tbb_libraries}")
 
   CHECK_CXX_SOURCE_COMPILES("
-    #include <tbb/tbb.h>
+    #include <tbb/parallel_for.h>
     using namespace tbb;
     size_t testme(size_t n)
     {