mirror of https://github.com/CGAL/cgal
parallel_Frechet_DS_2 uses Parallel_if_available_tag, hence compilable without TBB
This commit is contained in:
parent
69d0c792e6
commit
bdab5a95ec
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue