only test parallel if TBB is installed

This commit is contained in:
Sébastien Loriot 2023-05-09 18:40:22 +02:00
parent a6224c75b4
commit fd847c2351
1 changed files with 2 additions and 1 deletions

View File

@ -77,9 +77,10 @@ int main(int argc, char* argv[])
std::cout << "Sequential test" << std::endl;
Tester<K, Surface_mesh, CGAL::Sequential_tag>()(fname, "out-dragknob-sequential");
#ifdef CGAL_LINKED_WITH_TBB
std::cout << "Parallel test" << std::endl;
Tester<K, Surface_mesh, CGAL::Parallel_tag>()(fname, "out-dragknob-parallel");
#endif
return EXIT_SUCCESS;
}