From bdab5a95ec3696efafe698ead11af7a827902bd4 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 7 May 2025 14:12:11 +0100 Subject: [PATCH] parallel_Frechet_DS_2 uses Parallel_if_available_tag, hence compilable without TBB --- Frechet_distance/examples/Frechet_distance/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frechet_distance/examples/Frechet_distance/CMakeLists.txt b/Frechet_distance/examples/Frechet_distance/CMakeLists.txt index 037c5f2710f..18f9c3fa6bf 100644 --- a/Frechet_distance/examples/Frechet_distance/CMakeLists.txt +++ b/Frechet_distance/examples/Frechet_distance/CMakeLists.txt @@ -25,12 +25,13 @@ create_single_source_cgal_program( "Frechet_distance_d.cpp" ) target_link_libraries(Frechet_distance_d PUBLIC CGAL::Eigen3_support) endif() + +create_single_source_cgal_program("parallel_Frechet_DS_2.cpp") find_package(TBB QUIET) include(CGAL_TBB_support) if(TARGET CGAL::TBB_support) message(STATUS "Found TBB") - create_single_source_cgal_program("parallel_Frechet_DS_2.cpp") target_link_libraries(parallel_Frechet_DS_2 PRIVATE CGAL::TBB_support) else() message(STATUS "NOTICE: The example 'parallel_Frechet_DS_2' requires TBB, and will not be compiled")