Commit 5c7d8be3 authored by Aron Helser's avatar Aron Helser Committed by Kitware Robot
Browse files

Merge topic 'vtkonly_enable_tbb'

89f0ac7c

 Enable SMP_IMPLEMENTATION TBB when tbb is built by the superbuild.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: David Thompson's avatarDavid Thompson <david.thompson@kitware.com>
Merge-request: !731
parents d9f2ee70 89f0ac7c
Pipeline #218482 failed with stages
in 189 minutes and 25 seconds
......@@ -27,6 +27,12 @@ if (qt5_dllpath)
endif ()
string(REPLACE ";" "${_superbuild_list_separator}" vtk_dll_paths "${vtk_dll_paths}")
# enable vtk TBB use if it's on
set(vtk_tbb_default)
if (ENABLE_tbb)
set(vtk_tbb_default "-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB")
endif()
superbuild_add_project(vtkonly
DEBUGGABLE
DEPENDS
......@@ -69,7 +75,8 @@ superbuild_add_project(vtkonly
-DVTK_MODULE_USE_EXTERNAL_VTK_png:BOOL=${png_enabled}
-DVTK_MODULE_USE_EXTERNAL_VTK_zlib:BOOL=${zlib_enabled}
-DVTK_GROUP_ENABLE_Web:BOOL=${vtkonly_python_req}
-DVTK_GROUP_ENABLE_Web:STRING=${vtkonly_python_req}
${vtk_tbb_default}
-DCMAKE_INSTALL_NAME_DIR:STRING=<INSTALL_DIR>/lib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment