Commit 8ae5172d authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

fix find tbb issue

When ospray was enabled, find_package(ParaView ..) failed since ospray
couldn't find TBB. A temporary workaround to get past that error/
parent a73f587b
......@@ -264,3 +264,8 @@ if (APPLE)
superbuild_append_flags(cxx_flags "-stdlib=libc++" PROJECT_ONLY)
superbuild_append_flags(ld_flags "-stdlib=libc++" PROJECT_ONLY)
endif ()
if (ospray_enabled AND tbb_enabled)
superbuild_add_extra_cmake_args(
-DTBB_ROOT:PATH=<INSTALL_DIR>)
endif()
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