mirror of https://github.com/CGAL/cgal
add missing includes
This commit is contained in:
parent
b2fe891802
commit
7915057945
|
|
@ -44,6 +44,7 @@ if (NOT TARGET CGAL::Eigen_support)
|
|||
endif()
|
||||
|
||||
find_package(TBB QUIET)
|
||||
include(CGAL_TBB_support)
|
||||
|
||||
if (NOT Classification_dependencies_met)
|
||||
return()
|
||||
|
|
|
|||
|
|
@ -79,9 +79,10 @@ else()
|
|||
endif()
|
||||
|
||||
find_package( TBB QUIET )
|
||||
if(TBB_FOUND)
|
||||
include(CGAL_TBB_support)
|
||||
if(TARGET CGAL::TBB_support)
|
||||
create_single_source_cgal_program( "parallel_kdtree.cpp" )
|
||||
cgal_target_use_TBB(parallel_kdtree)
|
||||
target_link_libraries(parallel_kdtree PUBLIC CGAL::TBB_support)
|
||||
else()
|
||||
message(STATUS "parallel_kdtree.cpp requires TBB and will not be compiled")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue