diff --git a/Plugins/Libigl/stkLibiglCopyleft/CMakeLists.txt b/Plugins/Libigl/stkLibiglCopyleft/CMakeLists.txt index 20971d4..bab888b 100644 --- a/Plugins/Libigl/stkLibiglCopyleft/CMakeLists.txt +++ b/Plugins/Libigl/stkLibiglCopyleft/CMakeLists.txt @@ -20,7 +20,9 @@ if(CGAL_FOUND) ON) if(CGAL_ACTIVATE_CONCURRENCY) - find_package(TBB REQUIRED) + if (NOT TARGET TBB) + find_package(TBB REQUIRED) + endif () if(TBB_FOUND) add_definitions( -DNOMINMAX -DCGAL_LINKED_WITH_TBB ) endif(TBB_FOUND)