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()
|
endif()
|
||||||
|
|
||||||
find_package(TBB QUIET)
|
find_package(TBB QUIET)
|
||||||
|
include(CGAL_TBB_support)
|
||||||
|
|
||||||
if (NOT Classification_dependencies_met)
|
if (NOT Classification_dependencies_met)
|
||||||
return()
|
return()
|
||||||
|
|
|
||||||
|
|
@ -79,9 +79,10 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package( TBB QUIET )
|
find_package( TBB QUIET )
|
||||||
if(TBB_FOUND)
|
include(CGAL_TBB_support)
|
||||||
|
if(TARGET CGAL::TBB_support)
|
||||||
create_single_source_cgal_program( "parallel_kdtree.cpp" )
|
create_single_source_cgal_program( "parallel_kdtree.cpp" )
|
||||||
cgal_target_use_TBB(parallel_kdtree)
|
target_link_libraries(parallel_kdtree PUBLIC CGAL::TBB_support)
|
||||||
else()
|
else()
|
||||||
message(STATUS "parallel_kdtree.cpp requires TBB and will not be compiled")
|
message(STATUS "parallel_kdtree.cpp requires TBB and will not be compiled")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue