add missing includes

This commit is contained in:
Maxime Gimeno 2020-05-29 16:35:21 +02:00
parent b2fe891802
commit 7915057945
2 changed files with 4 additions and 2 deletions

View File

@ -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()

View File

@ -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()